[FFmpeg-devel] [PATCH] ffplay: improve error message in case of failure, mention filtergraph configuration
Stefano Sabatini
stefasab at gmail.com
Sun Jul 21 19:30:05 CEST 2013
On date Sunday 2013-07-21 00:25:08 +0200, Marton Balint encoded:
>
>
> On Sat, 20 Jul 2013, Stefano Sabatini wrote:
>
> >---
> >ffplay.c | 3 ++-
> >1 file changed, 2 insertions(+), 1 deletion(-)
> >
> >diff --git a/ffplay.c b/ffplay.c
> >index 9b5dce0..fbef907 100644
> >--- a/ffplay.c
> >+++ b/ffplay.c
> >@@ -2802,7 +2802,8 @@ static int read_thread(void *arg)
> > }
> >
> > if (is->video_stream < 0 && is->audio_stream < 0) {
> >- av_log(NULL, AV_LOG_FATAL, "%s: could not open codecs\n", is->filename);
> >+ av_log(NULL, AV_LOG_FATAL, "Failed to open file '%s' or configure filtergraph\n",
> >+ is->filename);
> > ret = -1;
> > goto fail;
> > }
>
> LGTM, thanks.
Applied, thanks.
--
FFmpeg = Fiendish Fierce Marvellous Pitiless Enigmatic Gospel
More information about the ffmpeg-devel
mailing list