changeset 31188:aff74c63b86d

Use MSGT_DECVIDEO in a video decoder. Patch by Giorgio Vazzana, mywing81 gmail
author cehoyos
date Fri, 28 May 2010 11:52:12 +0000
parents 150c2d70225f
children edfa98275e04
files libmpcodecs/vd_theora.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_theora.c	Fri May 28 08:39:02 2010 +0000
+++ b/libmpcodecs/vd_theora.c	Fri May 28 11:52:12 2010 +0000
@@ -99,7 +99,7 @@
             op.packet = extradata + 2;
             op.b_o_s  = 1;
             if (extradata_size < op.bytes + 2) {
-                mp_msg(MSGT_DECAUDIO, MSGL_ERR, "Theora header too small\n");
+                mp_msg(MSGT_DECVIDEO, MSGL_ERR, "Theora header too small\n");
                 goto err_out;
             }
             extradata      += op.bytes + 2;
@@ -111,7 +111,7 @@
 
         if ( (errorCode = theora_decode_header (&context->inf, &context->cc, &op)) )
         {
-            mp_msg(MSGT_DECAUDIO, MSGL_ERR, "Broken Theora header; errorCode=%i!\n", errorCode);
+            mp_msg(MSGT_DECVIDEO, MSGL_ERR, "Broken Theora header; errorCode=%i!\n", errorCode);
             goto err_out;
         }
     }
@@ -188,7 +188,7 @@
    errorCode = theora_decode_YUVout (&context->st, &yuv);
    if (errorCode)
    {
-      mp_msg(MSGT_DEMUX,MSGL_ERR,"Theora decode YUVout failed: %i \n",
+      mp_msg(MSGT_DECVIDEO,MSGL_ERR,"Theora decode YUVout failed: %i \n",
 	     errorCode);
       return NULL;
    }