From 166a49511a7edb1bf4ebca1604dddf28816ba92a Mon Sep 17 00:00:00 2001 From: Mangal Kushwah Date: Thu, 8 Aug 2024 21:30:19 +0530 Subject: [PATCH] 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 980e4d7449e9e06bef525d9049dff5b9b5ecd673) Gbp-Pq: Name 0024-demux-AVI-insert-packetizer-for-XVID-MPEG-4-video.patch --- modules/demux/avi/avi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c index 7059ca96..bcc3511e 100644 --- a/modules/demux/avi/avi.c +++ b/modules/demux/avi/avi.c @@ -719,6 +719,7 @@ static int Open( vlc_object_t * p_this ) { tk->fmt.i_codec = tk->fmt.i_original_fourcc = VLC_FOURCC( 'X', 'V', 'I', 'D' ); + tk->fmt.b_packetized = false; } /* Shitty files storing chroma in biCompression */ -- 2.30.2