[MPlayer-cvslog] r36731 - trunk/libmpcodecs/img_format.c

reimar subversion at mplayerhq.hu
Sat Jan 25 17:55:03 CET 2014


Author: reimar
Date: Sat Jan 25 17:55:03 2014
New Revision: 36731

Log:
img_format: document why mp_get_chroma_shift does not work for NV12/NV21

Modified:
   trunk/libmpcodecs/img_format.c

Modified: trunk/libmpcodecs/img_format.c
==============================================================================
--- trunk/libmpcodecs/img_format.c	Sat Jan 25 17:55:01 2014	(r36730)
+++ trunk/libmpcodecs/img_format.c	Sat Jan 25 17:55:03 2014	(r36731)
@@ -224,7 +224,10 @@ int mp_get_chroma_shift(int format, int 
     case IMGFMT_NV21:
         xs = 1;
         ys = 1;
+        // TODO: allowing this though currently breaks
+        // things all over the place.
         err = 1;
+        break;
     default:
         err = 1;
         break;


More information about the MPlayer-cvslog mailing list