mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 11:29:55 +00:00
mpeg2dec: Do a hard reset of flush_stop
Which is notified by hard == 0 with latest refactoring.
This commit is contained in:
parent
3bf4958e3c
commit
96c15877f2
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ gst_mpeg2dec_reset (GstVideoDecoder * decoder, gboolean hard)
|
|||
|
||||
/* reset the initial video state */
|
||||
mpeg2dec->discont_state = MPEG2DEC_DISC_NEW_PICTURE;
|
||||
mpeg2_reset (mpeg2dec->decoder, hard);
|
||||
mpeg2_reset (mpeg2dec->decoder, hard ? 0 : 1);
|
||||
mpeg2_skip (mpeg2dec->decoder, 1);
|
||||
|
||||
gst_mpeg2dec_clear_buffers (mpeg2dec);
|
||||
|
|
Loading…
Reference in a new issue