summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorJosep Torre Valles <josep@fluendo.com>2008-02-05 11:30:49 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-02-05 11:30:49 +0000
commit870ea2afe8e1a4232c4ecc7e7cadcfd26a6f0d74 (patch)
tree77124bc70b1f4c4502e3fdb12c48d2f6f536a863 /gst
parent96d74fb23ad579a46a720eeeb03778d1d5d3edd0 (diff)
downloadgst-plugins-bad-870ea2afe8e1a4232c4ecc7e7cadcfd26a6f0d74.tar.gz
gst-plugins-bad-870ea2afe8e1a4232c4ecc7e7cadcfd26a6f0d74.tar.bz2
gst-plugins-bad-870ea2afe8e1a4232c4ecc7e7cadcfd26a6f0d74.zip
gst/mpegvideoparse/mpegvideoparse.c: Flush packetizer too.
Original commit message from CVS: Patch by: Josep Torre Valles <josep@fluendo.com> * gst/mpegvideoparse/mpegvideoparse.c: (gst_mpegvideoparse_flush): Flush packetizer too.
Diffstat (limited to 'gst')
-rw-r--r--gst/mpegvideoparse/mpegvideoparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/mpegvideoparse/mpegvideoparse.c b/gst/mpegvideoparse/mpegvideoparse.c
index 017f6f26..fcaaed5f 100644
--- a/gst/mpegvideoparse/mpegvideoparse.c
+++ b/gst/mpegvideoparse/mpegvideoparse.c
@@ -303,6 +303,7 @@ gst_mpegvideoparse_flush (MpegVideoParse * mpegvideoparse)
g_list_foreach (mpegvideoparse->decode, (GFunc) gst_mini_object_unref, NULL);
g_list_free (mpegvideoparse->decode);
mpegvideoparse->decode = NULL;
+ mpeg_packetiser_flush (&mpegvideoparse->packer);
}
static GstFlowReturn