summaryrefslogtreecommitdiffstats
path: root/dec_video.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-29 16:42:50 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-29 16:42:50 +0000
commit55324703aa8be736a9938c49812fdfddc94e970c (patch)
tree9c5612523bb2445f07363a0a0a6b348b0e83f492 /dec_video.c
parent7d243ad740a1b3260442614a27246c6ff0399d64 (diff)
downloadmpv-55324703aa8be736a9938c49812fdfddc94e970c.tar.bz2
mpv-55324703aa8be736a9938c49812fdfddc94e970c.tar.xz
fixed rv10 with subid=3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3878 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_video.c')
-rw-r--r--dec_video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dec_video.c b/dec_video.c
index 2963613563..ac2957787c 100644
--- a/dec_video.c
+++ b/dec_video.c
@@ -483,6 +483,8 @@ switch(sh_video->codec->driver){
lavc_context.width=sh_video->disp_w;
lavc_context.height=sh_video->disp_h;
mp_dbg(MSGT_DECVIDEO,MSGL_DBG2,"libavcodec.size: %d x %d\n",lavc_context.width,lavc_context.height);
+ if (sh_video->format == mmioFOURCC('R', 'V', '1', '3'))
+ lavc_context.sub_id = 3;
/* open it */
if (avcodec_open(&lavc_context, lavc_codec) < 0) {
mp_msg(MSGT_DECVIDEO,MSGL_ERR, MSGTR_CantOpenCodec);