gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog libmedia/ffmpeg/VideoDecoderFfm...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog libmedia/ffmpeg/VideoDecoderFfm...
Date: Thu, 05 Jun 2008 13:36:57 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/06/05 13:36:57

Modified files:
        .              : ChangeLog 
        libmedia/ffmpeg: VideoDecoderFfmpeg.cpp 

Log message:
        print codec name in error and debug.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6828&r2=1.6829
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6828
retrieving revision 1.6829
diff -u -b -r1.6828 -r1.6829
--- ChangeLog   5 Jun 2008 13:32:44 -0000       1.6828
+++ ChangeLog   5 Jun 2008 13:36:56 -0000       1.6829
@@ -1,5 +1,7 @@
 2008-06-05 Sandro Santilli <address@hidden>
 
+       * libmedia/ffmpeg/VideoDecoderFfmpeg.cpp (init): print codec
+         name in error and debug.
        * libmedia/ffmpeg/AudioDecoderFfmpeg.cpp (setup): print codec
          name in error and debug.
 

Index: libmedia/ffmpeg/VideoDecoderFfmpeg.cpp
===================================================================
RCS file: /sources/gnash/gnash/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- libmedia/ffmpeg/VideoDecoderFfmpeg.cpp      5 Jun 2008 09:40:35 -0000       
1.13
+++ libmedia/ffmpeg/VideoDecoderFfmpeg.cpp      5 Jun 2008 13:36:57 -0000       
1.14
@@ -86,7 +86,8 @@
 
   int ret = avcodec_open(_videoCodecCtx, _videoCodec);
   if (ret < 0) {
-    log_error(_("VideoDecoderFfmpeg::init: avcodec_open: failed to initialize 
FFMPEG codec %d"), (int)codecId);
+    log_error(_("VideoDecoderFfmpeg::init: avcodec_open: failed to initialize 
FFMPEG codec %s (%d)"),
+               _videoCodec->name, (int)codecId);
     av_free(_videoCodecCtx);
     _videoCodecCtx=0;
     return;
@@ -94,6 +95,9 @@
   _videoCodecCtx->width = width;
   _videoCodecCtx->height = height;
 
+  log_debug(_("VideoDecoderFfmpeg::init: initialized FFMPEG codec %s (%d)"), 
+               _videoCodec->name, (int)codecId);
+
   assert(_videoCodecCtx->width > 0);
   assert(_videoCodecCtx->height > 0);
 }
@@ -226,7 +230,7 @@
   // Find the decoder and init the parser
   switch(format) {
     case VIDEO_CODEC_H263:
-      return CODEC_ID_FLV1;
+      return CODEC_ID_FLV1; // why not CODEC_ID_H263I ?
 #ifdef FFMPEG_VP6
     case VIDEO_CODEC_VP6:
       return CODEC_ID_VP6F;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]