Skip to content

Commit b37da99

Browse files
committed
demux: AVI insert packetizer for XVID MPEG-4 video
Older DivX-encoded videos commonly use an method called packed bitstream which puts several video frames into a single AVI chunk. Since Packed bitstream isn't standard MPEG-4 it causes playback issues with some hw decoders. (cherry picked from commit 980e4d7)
1 parent b16e559 commit b37da99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/demux/avi/avi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,7 @@ static int Open( vlc_object_t * p_this )
719719
{
720720
tk->fmt.i_codec =
721721
tk->fmt.i_original_fourcc = VLC_FOURCC( 'X', 'V', 'I', 'D' );
722+
tk->fmt.b_packetized = false;
722723
}
723724

724725
/* Shitty files storing chroma in biCompression */

0 commit comments

Comments
 (0)