From f577ffb12dfa0aca33a1e7892484acf16d2e555f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 27 Oct 2008 09:33:40 +0000 Subject: gst/flv/: Add support for Speex audio and allow buffers without valid timestamp in the muxer. Original commit message from CVS: * gst/flv/gstflvmux.c: (gst_flv_mux_audio_pad_setcaps), (gst_flv_mux_request_new_pad), (gst_flv_mux_write_buffer), (gst_flv_mux_collected): * gst/flv/gstflvmux.h: * gst/flv/gstflvparse.c: (gst_flv_parse_audio_negotiate): Add support for Speex audio and allow buffers without valid timestamp in the muxer. --- gst/flv/gstflvparse.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gst/flv/gstflvparse.c') diff --git a/gst/flv/gstflvparse.c b/gst/flv/gstflvparse.c index 87d7f689..d9cdb239 100644 --- a/gst/flv/gstflvparse.c +++ b/gst/flv/gstflvparse.c @@ -442,6 +442,10 @@ gst_flv_parse_audio_negotiate (GstFLVDemux * demux, guint32 codec_tag, caps = gst_caps_new_simple ("audio/x-mulaw", NULL); codec_name = "Mu-Law"; break; + case 11: + caps = gst_caps_new_simple ("audio/x-speex", NULL); + codec_name = "Speex"; + break; default: GST_WARNING_OBJECT (demux, "unsupported audio codec tag %u", codec_tag); } -- cgit v1.2.1