mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
gst/mpegstream/gstmpegparse.c: When we have received a new SCR right in the first buffer after we should handle the b...
Original commit message from CVS: 2004-01-06 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_loop): When we have received a new SCR right in the first buffer after a seek (so in the same cycle that handles the discont), we should handle the buffer instead of unreffing it, else we lose data.
This commit is contained in:
parent
c3c9ad003c
commit
7334e3b7d8
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-01-06 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
|
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_loop):
|
||||||
|
When we have received a new SCR right in the first buffer after
|
||||||
|
a seek (so in the same cycle that handles the discont), we should
|
||||||
|
handle the buffer instead of unreffing it, else we lose data.
|
||||||
|
|
||||||
2004-01-06 Iain <iain@prettypeople.org>
|
2004-01-06 Iain <iain@prettypeople.org>
|
||||||
|
|
||||||
* gst/intfloat/gstint2float.c (gst_int2float_link): Set the
|
* gst/intfloat/gstint2float.c (gst_int2float_link): Set the
|
||||||
|
|
|
@ -482,11 +482,10 @@ gst_mpeg_parse_loop (GstElement *element)
|
||||||
mpeg_parse->discont_pending = FALSE;
|
mpeg_parse->discont_pending = FALSE;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
GST_DEBUG ("waiting for SCR\n");
|
GST_DEBUG ("waiting for SCR");
|
||||||
}
|
|
||||||
gst_buffer_unref (GST_BUFFER (data));
|
gst_buffer_unref (GST_BUFFER (data));
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
size = GST_BUFFER_SIZE (data);
|
size = GST_BUFFER_SIZE (data);
|
||||||
|
|
Loading…
Reference in a new issue