git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a50124
)
Revert "Partially work around a picture link in libmpeg2."
author
Laurent Aimar
<fenrir@videolan.org>
Mon, 1 Sep 2008 21:40:01 +0000
(23:40 +0200)
committer
Laurent Aimar
<fenrir@videolan.org>
Mon, 1 Sep 2008 21:48:19 +0000
(23:48 +0200)
This reverts commit
f18192c64b1f984c694d32e734a5b15d80b18ee0
.
It fixed a few streams while breaking a few others one.
modules/codec/libmpeg2.c
patch
|
blob
|
history
diff --git
a/modules/codec/libmpeg2.c
b/modules/codec/libmpeg2.c
index
523a8ba
..
f0e3833
100644
(file)
--- a/
modules/codec/libmpeg2.c
+++ b/
modules/codec/libmpeg2.c
@@
-466,13
+466,8
@@
static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
if( p_sys->p_info->discard_fbuf &&
p_sys->p_info->discard_fbuf->id )
{
-
- picture_t *p_old = p_sys->p_info->discard_fbuf->id;
-
- if( p_old->i_status == RESERVED_PICTURE && p_old->date == 0 )
- p_dec->pf_vout_buffer_del( p_dec, p_old );
- else
- p_dec->pf_picture_unlink( p_dec, p_old );
+ p_dec->pf_picture_unlink( p_dec,
+ p_sys->p_info->discard_fbuf->id );
}
/* For still frames */