projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f541f94
)
mpeg2dec: Fix mpeg2_reset() calls
author
Sebastian Dröge
<slomo@circular-chaos.org>
Thu, 15 Aug 2013 13:30:31 +0000
(15:30 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Thu, 15 Aug 2013 13:30:31 +0000
(15:30 +0200)
ext/mpeg2dec/gstmpeg2dec.c
patch
|
blob
|
history
diff --git
a/ext/mpeg2dec/gstmpeg2dec.c
b/ext/mpeg2dec/gstmpeg2dec.c
index f44cf70352c74845e375607f0a4574da8712e697..03c8b4e3e631432d596356339013ace4ab2d34b0 100644
(file)
--- a/
ext/mpeg2dec/gstmpeg2dec.c
+++ b/
ext/mpeg2dec/gstmpeg2dec.c
@@
-212,7
+212,7
@@
gst_mpeg2dec_stop (GstVideoDecoder * decoder)
{
GstMpeg2dec *mpeg2dec = GST_MPEG2DEC (decoder);
- mpeg2_reset (mpeg2dec->decoder,
1
);
+ mpeg2_reset (mpeg2dec->decoder,
0
);
mpeg2_skip (mpeg2dec->decoder, 1);
gst_mpeg2dec_clear_buffers (mpeg2dec);
@@
-231,7
+231,7
@@
gst_mpeg2dec_flush (GstVideoDecoder * decoder)
/* reset the initial video state */
mpeg2dec->discont_state = MPEG2DEC_DISC_NEW_PICTURE;
- mpeg2_reset (mpeg2dec->decoder,
0
);
+ mpeg2_reset (mpeg2dec->decoder,
1
);
mpeg2_skip (mpeg2dec->decoder, 1);
gst_mpeg2dec_clear_buffers (mpeg2dec);