[SCM] libgroove/upstream: log error when cannot set up filter graph

andrewrk-guest at users.alioth.debian.org andrewrk-guest at users.alioth.debian.org
Mon Mar 17 02:20:50 UTC 2014


The following commit has been merged in the upstream branch:
commit 4109b8a00c928c64b85b24cf8ec1e115f2824089
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Thu Feb 13 17:51:52 2014 -0500

    log error when cannot set up filter graph

diff --git a/groove/playlist.c b/groove/playlist.c
index c8d7b05..c9f683f 100644
--- a/groove/playlist.c
+++ b/groove/playlist.c
@@ -428,7 +428,9 @@ static int init_filter_graph(struct GroovePlaylist *playlist, struct GrooveFile
 
     err = avfilter_graph_config(p->filter_graph, NULL);
     if (err < 0) {
-        av_log(NULL, AV_LOG_ERROR, "error configuring the filter graph\n");
+        av_strerror(err, p->strbuf, sizeof(p->strbuf));
+        av_log(NULL, AV_LOG_ERROR, "error configuring the filter graph: %s\n",
+                p->strbuf);
         return err;
     }
 

-- 
libgroove packaging



More information about the pkg-multimedia-commits mailing list