videodecoder: actually return the push result in backwards playback

It was always returning _OK regardless of what downstream returned
This commit is contained in:
Thiago Santos 2014-05-26 21:24:07 -03:00
parent ff9e37ea66
commit 0cb5ea4396

View file

@ -2051,7 +2051,7 @@ gst_video_decoder_chain_reverse (GstVideoDecoder * dec, GstBuffer * buf)
GST_DEBUG_OBJECT (dec, "received discont");
/* parse and decode stuff in the gather and parse queues */
gst_video_decoder_flush_parse (dec, FALSE);
result = gst_video_decoder_flush_parse (dec, FALSE);
}
if (G_LIKELY (buf)) {