[Mplayer-cvslog] CVS: main dec_video.c,1.80,1.81
Alex Beregszaszi
alex at mplayer.dev.hu
Sat Dec 29 17:42:53 CET 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv20242
Modified Files:
dec_video.c
Log Message:
fixed rv10 with subid=3
Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- dec_video.c 27 Dec 2001 21:32:17 -0000 1.80
+++ dec_video.c 29 Dec 2001 16:42:50 -0000 1.81
@@ -483,6 +483,8 @@
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);
More information about the MPlayer-cvslog
mailing list