[vlc-devel] commit: Revert "Correctly set the index keyframe flag in avi muxer." ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed Aug 27 19:26:06 CEST 2008
vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 27 10:28:59 2008 -0700| [2ced06c062b921c1ac3350792273b1fa75cbb306] | committer: Jean-Baptiste Kempf
Revert "Correctly set the index keyframe flag in avi muxer."
This reverts commit 922455d303e66978a253eaeb6e7617f618c815bb.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ced06c062b921c1ac3350792273b1fa75cbb306
---
modules/mux/avi.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/modules/mux/avi.c b/modules/mux/avi.c
index e12019e..4514e72 100644
--- a/modules/mux/avi.c
+++ b/modules/mux/avi.c
@@ -474,9 +474,7 @@ static int Mux ( sout_mux_t *p_mux )
/* add idx1 entry for this frame */
p_idx = &p_sys->idx1.entry[p_sys->idx1.i_entry_count];
memcpy( p_idx->fcc, p_stream->fcc, 4 );
- p_idx->i_flags = 0;
- if( ( p_data->i_flags & BLOCK_FLAG_TYPE_MASK ) == 0 || ( p_data->i_flags & BLOCK_FLAG_TYPE_I ) )
- p_idx->i_flags = AVIIF_KEYFRAME;
+ p_idx->i_flags = AVIIF_KEYFRAME;
p_idx->i_pos = p_sys->i_movi_size + 4;
p_idx->i_length= p_data->i_buffer;
p_sys->idx1.i_entry_count++;
More information about the vlc-devel
mailing list