[x264-devel] commit: Print more accurate error message if dump_yuv fails ( Jason Garrett-Glaser )

git version control git at videolan.org
Mon Oct 19 11:10:46 CEST 2009


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Wed Oct 14 11:32:27 2009 -0700| [dd572cb12fa73bb985fb6e2599038fad7968d564] | committer: Jason Garrett-Glaser 

Print more accurate error message if dump_yuv fails

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=dd572cb12fa73bb985fb6e2599038fad7968d564
---

 encoder/encoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/encoder/encoder.c b/encoder/encoder.c
index 812262b..87e0700 100644
--- a/encoder/encoder.c
+++ b/encoder/encoder.c
@@ -935,7 +935,7 @@ x264_t *x264_encoder_open( x264_param_t *param )
             fclose( f );
         else
         {
-            x264_log( h, X264_LOG_ERROR, "can't write to fdec.yuv\n" );
+            x264_log( h, X264_LOG_ERROR, "dump_yuv: can't write to %s\n", h->param.psz_dump_yuv );
             goto fail;
         }
     }



More information about the x264-devel mailing list