mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
gst/mpegdemux/gstmpegtsdemux.c: Fix wrong firing of critical introduced by previous optimisation.
Original commit message from CVS: Patch by: Josep Torra * gst/mpegdemux/gstmpegtsdemux.c: Fix wrong firing of critical introduced by previous optimisation.
This commit is contained in:
parent
db433443c9
commit
478417da1a
2 changed files with 13 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||
|
||||
Patch by: Josep Torra
|
||||
|
||||
* gst/mpegdemux/gstmpegtsdemux.c:
|
||||
Fix wrong firing of critical introduced by previous optimisation.
|
||||
|
||||
2008-10-03 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* ext/faac/gstfaac.c: (gst_faac_configure_source_pad):
|
||||
|
|
|
@ -1954,13 +1954,13 @@ gst_fluts_demux_is_PMT (GstFluTSDemux * demux, guint16 PID)
|
|||
static FORCE_INLINE GstFlowReturn
|
||||
gst_fluts_stream_pes_buffer_flush (GstFluTSStream * stream)
|
||||
{
|
||||
GstFlowReturn ret;
|
||||
GstFlowReturn ret = GST_FLOW_OK;
|
||||
|
||||
g_return_val_if_fail (stream->pes_buffer, GST_FLOW_OK);
|
||||
|
||||
GST_BUFFER_SIZE (stream->pes_buffer) = stream->pes_buffer_used;
|
||||
ret = gst_pes_filter_push (&stream->filter, stream->pes_buffer);
|
||||
stream->pes_buffer = NULL;
|
||||
if (stream->pes_buffer) {
|
||||
GST_BUFFER_SIZE (stream->pes_buffer) = stream->pes_buffer_used;
|
||||
ret = gst_pes_filter_push (&stream->filter, stream->pes_buffer);
|
||||
stream->pes_buffer = NULL;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue