diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-11 00:16:33 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-11 00:16:33 +0000 |
commit | bf7c945fcad050756303a9309424b8b2e1489f7d (patch) | |
tree | e0b0097f238b475391ee110021fa84733564c68c /libmpcodecs | |
parent | 1879e4e9f71ab63b83dfe88feb3ff925978f84a7 (diff) | |
download | mpv-bf7c945fcad050756303a9309424b8b2e1489f7d.tar.bz2 mpv-bf7c945fcad050756303a9309424b8b2e1489f7d.tar.xz |
pass stream header FCC
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10848 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vd_ffmpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index e9f0263545..c9a7b568e6 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -212,6 +212,9 @@ static int init(sh_video_t *sh){ avctx->error_resilience= lavc_param_error_resilience; if(lavc_param_gray) avctx->flags|= CODEC_FLAG_GRAY; avctx->codec_tag= sh->format; +#if LIBAVCODEC_BUILD >= 4679 + avctx->stream_codec_tag= sh->video.fccHandler; +#endif avctx->idct_algo= lavc_param_idct_algo; avctx->error_concealment= lavc_param_error_concealment; #if LIBAVCODEC_BUILD >= 4642 |