videodecoder: More trickmode fix
authorEdward Hervey <edward@centricular.com>
Thu, 7 Jul 2016 15:10:17 +0000 (17:10 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 7 Jul 2016 15:12:31 +0000 (17:12 +0200)
commitcfc36ba586a032c61407bd4650f2511aa98c90f7
tree8830260e30b54a73e674d9de741982f3f935b2de
parentad1a25c358fff4a7afdcc586fe1134bd77c4ee69
videodecoder: More trickmode fix

We need to take into account the input segment flags to know whether
we should drain the decoder after a new keyframe in trick mode.

Otherwise we would have to wait for the next frame to be outputted (and
the segment to be activated) which ... well ... kind of beats the whole
point of this draining :)
gst-libs/gst/video/gstvideodecoder.c