videodecoder: Pass on 'hard' argument from _flush to _reset

When most of the code was moved from _flush() to _reset() the 'hard'
argument was no longer propagated.
This commit is contained in:
Edward Hervey 2013-08-01 16:01:30 +02:00
parent 0c4beda8f0
commit 84d476610b

View file

@ -870,7 +870,7 @@ gst_video_decoder_flush (GstVideoDecoder * dec, gboolean hard)
}
/* and get (re)set for the sequel */
gst_video_decoder_reset (dec, FALSE);
gst_video_decoder_reset (dec, hard);
return ret;
}