CVSROOT: /sources/gnash Module name: gnash Changes by: Bastiaan Jacques <bjacques> 08/01/25 20:54:59
Modified files: . : ChangeLog server/asobj : NetStreamGst.cpp Log message: print the element name when reporting about an error message coming from the pipeline. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5498&r2=1.5499 http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStreamGst.cpp?cvsroot=gnash&r1=1.73&r2=1.74 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.5498 retrieving revision 1.5499 diff -u -b -r1.5498 -r1.5499 --- ChangeLog 25 Jan 2008 20:42:39 -0000 1.5498 +++ ChangeLog 25 Jan 2008 20:54:58 -0000 1.5499 @@ -1,3 +1,8 @@ +2008-01-25 Bastiaan Jacques <[EMAIL PROTECTED]> + + * server/asobj/NetStreamGst.cpp: print the element name when reporting + about an error message coming from the pipeline. + 2008-01-25 Sandro Santilli <[EMAIL PROTECTED]> * testsuite/actionscript.all/String.as: add better test Index: server/asobj/NetStreamGst.cpp =================================================================== RCS file: /sources/gnash/gnash/server/asobj/NetStreamGst.cpp,v retrieving revision 1.73 retrieving revision 1.74 diff -u -b -r1.73 -r1.74 --- server/asobj/NetStreamGst.cpp 22 Jan 2008 20:03:28 -0000 1.73 +++ server/asobj/NetStreamGst.cpp 25 Jan 2008 20:54:59 -0000 1.74 @@ -28,6 +28,7 @@ #include "gstgnashsrc.h" #include "Object.h" #include "gstflvdemux.h" +#include <gst/gstelement.h> // video -> ffmpegcolorspace -> capsfilter -> fakesink @@ -474,7 +475,8 @@ gchar *debug; gst_message_parse_error (message, &err, &debug); - log_error(_("NetStream playback halted because: %s\n"), err->message); + log_error(_("NetStream playback halted; module %s reported: %s\n"), + gst_element_get_name(GST_MESSAGE_SRC (message)), err->message); g_error_free (err); g_free (debug); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit