summaryrefslogtreecommitdiffstats
path: root/gst/flv/gstflvparse.c
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-10-27 09:33:40 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-10-27 09:33:40 +0000
commitf577ffb12dfa0aca33a1e7892484acf16d2e555f (patch)
treecd8e3cfca7351d5825d19f98c5ceaa7363ac29db /gst/flv/gstflvparse.c
parentb8dff3899868c1ac021ba9ac30aea4cb666f3998 (diff)
downloadgst-plugins-bad-f577ffb12dfa0aca33a1e7892484acf16d2e555f.tar.gz
gst-plugins-bad-f577ffb12dfa0aca33a1e7892484acf16d2e555f.tar.bz2
gst-plugins-bad-f577ffb12dfa0aca33a1e7892484acf16d2e555f.zip
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.
Diffstat (limited to 'gst/flv/gstflvparse.c')
-rw-r--r--gst/flv/gstflvparse.c4
1 files changed, 4 insertions, 0 deletions
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);
}