videodecoder: Reset last_timestamp_out on new segment
authorJan Schmidt <jan@centricular.com>
Fri, 8 Aug 2014 10:01:20 +0000 (20:01 +1000)
committerJan Schmidt <jan@centricular.com>
Thu, 14 Aug 2014 07:59:06 +0000 (17:59 +1000)
commit946dc6b09f168a0b5087a612ff25c1493ed44035
tree83520bfb3c158ea171995591a27887e350e46d2c
parent14d79a3a47bc11e9a9f79a816387aa2599412434
videodecoder: Reset last_timestamp_out on new segment

Reset last_timestamp_out when applying the output segment
change, to avoid decoder confusion over new timestamp timelines when
a seamless segment change happens.

Move some locks/unlocks to later when they're actually needed.

https://bugzilla.gnome.org/show_bug.cgi?id=734617
gst-libs/gst/video/gstvideodecoder.c
gst-libs/gst/video/gstvideodecoder.h