mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
gst/qtdemux/qtdemux.c: If the buffer was entirely clipped ... don't try sending it :)
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_state_movie): If the buffer was entirely clipped ... don't try sending it :)
This commit is contained in:
parent
9ace67724c
commit
a086ad230e
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-07-30 Edward Hervey <bilboed@bilboed.com>
|
||||||
|
|
||||||
|
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_state_movie):
|
||||||
|
If the buffer was entirely clipped ... don't try sending it :)
|
||||||
|
|
||||||
2007-07-27 Wim Taymans <wim.taymans@gmail.com>
|
2007-07-27 Wim Taymans <wim.taymans@gmail.com>
|
||||||
|
|
||||||
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_activate_streams),
|
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_activate_streams),
|
||||||
|
|
|
@ -1470,6 +1470,9 @@ gst_qtdemux_loop_state_movie (GstQTDemux * qtdemux)
|
||||||
if (stream->need_clip)
|
if (stream->need_clip)
|
||||||
buf = gst_qtdemux_clip_buffer (qtdemux, stream, buf);
|
buf = gst_qtdemux_clip_buffer (qtdemux, stream, buf);
|
||||||
|
|
||||||
|
if (buf == NULL)
|
||||||
|
goto next;
|
||||||
|
|
||||||
if (stream->discont) {
|
if (stream->discont) {
|
||||||
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT);
|
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT);
|
||||||
stream->discont = FALSE;
|
stream->discont = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue