[vlc-devel] [PATCH] avformat: use avcodec codec_tag as original fourcc
Daniel Verkamp
daniel at drv.nu
Tue Jan 21 07:00:03 CET 2014
Fixes Bink video playback.
---
modules/demux/avformat/demux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index 40d9e07..d407e5e 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -303,6 +303,7 @@ int OpenDemux( vlc_object_t *p_this )
case AVMEDIA_TYPE_VIDEO:
es_format_Init( &fmt, VIDEO_ES, fcc );
+ fmt.i_original_fourcc = cc->codec_tag;
fmt.video.i_bits_per_pixel = cc->bits_per_coded_sample;
/* Special case for raw video data */
--
1.8.5.3
More information about the vlc-devel
mailing list