summaryrefslogtreecommitdiffstats
path: root/gst/mpegdemux/gstmpegtsdemux.c
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2008-11-06 11:31:03 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2008-11-06 11:31:03 +0000
commit5e47fd761685f97604623beec3d70ccdc7aa3e4b (patch)
treee0372117b05cb05b3e69b17f731c183a18723fae /gst/mpegdemux/gstmpegtsdemux.c
parent32a383f8b4de5e4a88f0e09d6fa816b8bb532c4d (diff)
downloadgst-plugins-bad-5e47fd761685f97604623beec3d70ccdc7aa3e4b.tar.gz
gst-plugins-bad-5e47fd761685f97604623beec3d70ccdc7aa3e4b.tar.bz2
gst-plugins-bad-5e47fd761685f97604623beec3d70ccdc7aa3e4b.zip
gst/mpegdemux/gstmpegtsdemux.c: No need to reclaculate flush in this case.
Original commit message from CVS: patch by: Josep Torra * gst/mpegdemux/gstmpegtsdemux.c: No need to reclaculate flush in this case. Fixes some bad decode errors introduced.
Diffstat (limited to 'gst/mpegdemux/gstmpegtsdemux.c')
-rw-r--r--gst/mpegdemux/gstmpegtsdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegdemux/gstmpegtsdemux.c b/gst/mpegdemux/gstmpegtsdemux.c
index da593b99..3badfa89 100644
--- a/gst/mpegdemux/gstmpegtsdemux.c
+++ b/gst/mpegdemux/gstmpegtsdemux.c
@@ -664,6 +664,7 @@ gst_fluts_demux_fill_stream (GstFluTSStream * stream, guint8 id,
stream->stream_type = stream_type;
stream->id = id;
+ GST_DEBUG ("creating new pad %s", name);
stream->pad = gst_pad_new_from_template (template, name);
gst_pad_use_fixed_caps (stream->pad);
gst_pad_set_caps (stream->pad, caps);
@@ -2550,7 +2551,6 @@ gst_fluts_demux_chain (GstPad * pad, GstBuffer * buffer)
for (i = 0; i < sync_count; i++) {
ret = gst_fluts_demux_parse_transport_packet (demux, demux->sync_lut[i]);
if (G_UNLIKELY (ret == GST_FLOW_LOST_SYNC)) {
- flush = demux->sync_lut[i] - data + 1;
ret = GST_FLOW_OK;
continue;
}