gstreamer/gst
Thiago Santos d8fb7a9c96 qtdemux: reset pending segment if we are already pushing one
When upstream is running in bytes in push-mode, qtdemux will
convert seeks from time to bytes and send it upstream. Upstream
element will perform a byte seek and send a byte segment to qtdemux
that will convert it to time and push it downstream.

There is, however, the pending_segment variable that stores a new
segment event to be pushed before the next data. When handling seeks
as mentioned above this variable was being ignored and, if it contained
some segment event, it would override the one resulting from the seek.
This would restore a previous segment and would cause the seek segment
to be discarded downstream.

This patch fixes this issue by unrefing any pending segment as the
seek from upstream should contain the latest one that should be
used, as requested by the application.

https://bugzilla.gnome.org/show_bug.cgi?id=763165
2016-03-07 15:26:13 -03:00
..
alpha alpha: Fix sample pipeline 2016-02-28 11:52:14 -05:00
apetag Remove obsolete Android build cruft 2015-04-26 17:55:07 +01:00
audiofx scaletempo: Free the various buffers in GstBaseTransform::stop() 2015-12-25 11:41:19 +01:00
audioparsers flacparse: push tags in pre_push_frame 2016-03-01 19:23:02 +00:00
auparse win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
autodetect Remove obsolete Android build cruft 2015-04-26 17:55:07 +01:00
avi avidemux: Fix buffer memory leak 2016-02-22 10:14:44 +02:00
cutter win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
debugutils win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
deinterlace gst: Handle gst_pad_get_current_caps() returning NULL gracefully 2016-02-23 18:27:47 +02:00
dtmf dtmfsrc: Reply to latency query 2015-09-01 15:49:07 -04:00
effectv win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
equalizer equalizer: The child-proxy API is GObject based in 1.x 2016-01-05 18:59:25 +02:00
flv gst: Don't assume that get_current_caps() returns non-NULL caps after has_current_caps() 2016-02-23 18:11:42 +02:00
flx win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
goom goom: Use goom_set_resolution() instead of recreating the goom instance when the resolution changes 2016-02-27 20:33:32 +02:00
goom2k1 win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
icydemux Remove obsolete Android build cruft 2015-04-26 17:55:07 +01:00
id3demux Rename property enums from ARG_ to PROP_ 2015-04-27 11:22:11 +01:00
imagefreeze gst: Don't assume that get_current_caps() returns non-NULL caps after has_current_caps() 2016-02-23 18:11:42 +02:00
interleave win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
isomp4 qtdemux: reset pending segment if we are already pushing one 2016-03-07 15:26:13 -03:00
law win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
level level: fix level calculations for mutliple channels 2015-08-27 10:16:38 +02:00
matroska matroska-demux: remove impossible condition 2016-02-29 10:11:38 +00:00
monoscope monoscope: rework the scaling code 2016-02-12 21:01:03 +01:00
multifile multifilesink: close file on write error with next-file mode is set to buffer 2016-02-23 11:34:31 +02:00
multipart win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
replaygain rgvolume: make tag list writable before modifying it 2016-02-28 14:44:39 +00:00
rtp rtp: opus: move Opus RTP payloader/depayloader from -bad to -good 2016-02-25 22:45:16 +00:00
rtpmanager Revert "rtpjitterbuffer: don't forget to unlock mutex in error code path in two cases" 2016-03-02 13:13:24 +02:00
rtsp rtspsrc: Properly error out if binding the UDP sockets fails 2016-02-28 13:01:34 +02:00
shapewipe gst: Don't assume that get_current_caps() returns non-NULL caps after has_current_caps() 2016-02-23 18:11:42 +02:00
smpte gst: Handle gst_pad_get_current_caps() returning NULL gracefully 2016-02-23 18:27:47 +02:00
spectrum win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
udp udpsrc: Fix multicast group joining with provided sockets on Windows 2016-03-04 15:31:51 +02:00
videobox win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
videocrop gst: Don't assume that get_current_caps() returns non-NULL caps after has_current_caps() 2016-02-23 18:11:42 +02:00
videofilter win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
videomixer win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
wavenc win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
wavparse win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
y4m win32: remove outdated build cruft 2016-02-21 09:47:43 +00:00
Makefile.am