diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2005-03-14 11:26:37 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2005-03-14 11:26:37 +0000 |
commit | 784cef2c84ac7b7c5ec9effe813f3e407419ca56 (patch) | |
tree | a073bfc03d4238672824acab9291e18a60b82eaf /ext | |
parent | 205a92659a8b842273972a9a8c3ba58cf3abbae5 (diff) | |
download | gst-plugins-bad-784cef2c84ac7b7c5ec9effe813f3e407419ca56.tar.gz gst-plugins-bad-784cef2c84ac7b7c5ec9effe813f3e407419ca56.tar.bz2 gst-plugins-bad-784cef2c84ac7b7c5ec9effe813f3e407419ca56.zip |
Implement 'framed' property, independent of 'codec_data'.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_sinkconnect):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps):
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak),
(qtdemux_audio_caps):
Implement 'framed' property, independent of 'codec_data'.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/faad/gstfaad.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index e08ebcda..cb2c6611 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -321,6 +321,9 @@ gst_faad_sinkconnect (GstPad * pad, const GstCaps * caps) gst_buffer_unref (faad->tempbuf); faad->tempbuf = NULL; } + } else if ((value = gst_structure_get_value (str, "framed")) && + g_value_get_boolean (value) == TRUE) { + faad->packetised = TRUE; } else { faad->init = FALSE; } |