summaryrefslogtreecommitdiffstats
path: root/ext/faad/gstfaad.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/faad/gstfaad.c')
-rw-r--r--ext/faad/gstfaad.c3
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;
}