Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
ffmpeg2
ffmpeg-new-coder-errors.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ffmpeg-new-coder-errors.diff of Package ffmpeg2
From: Jan Engelhardt <jengelh@inai.de> Date: 2016-04-10 23:23:53.138440254 +0200 Improve the error messages a bit to say what's really going on (in light of openSUSE's reduced build). --- ffmpeg.c | 4 ++-- ffmpeg_filter.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) Index: ffmpeg-2.8.7/ffmpeg.c =================================================================== --- ffmpeg-2.8.7.orig/ffmpeg.c +++ ffmpeg-2.8.7/ffmpeg.c @@ -2534,7 +2534,7 @@ static int init_input_stream(int ist_ind if (ist->decoding_needed) { AVCodec *codec = ist->dec; if (!codec) { - snprintf(error, error_len, "Decoder (codec %s) not found for input stream #%d:%d", + snprintf(error, error_len, "This build of ffmpeg does not include a \"%s\" decoder needed for input stream #%d:%d.", avcodec_get_name(ist->dec_ctx->codec_id), ist->file_index, ist->st->index); return AVERROR(EINVAL); } @@ -3009,7 +3009,7 @@ static int transcode_init(void) ost->enc = avcodec_find_encoder(enc_ctx->codec_id); if (!ost->enc) { /* should only happen when a default codec is not present. */ - snprintf(error, sizeof(error), "Encoder (codec %s) not found for output stream #%d:%d", + snprintf(error, sizeof(error), "This build of ffmpeg does not include a \"%s\" encoder needed for output stream #%d:%d.", avcodec_get_name(ost->st->codec->codec_id), ost->file_index, ost->index); ret = AVERROR(EINVAL); goto dump_format; Index: ffmpeg-2.8.7/ffmpeg_filter.c =================================================================== --- ffmpeg-2.8.7.orig/ffmpeg_filter.c +++ ffmpeg-2.8.7/ffmpeg_filter.c @@ -940,7 +940,7 @@ static int configure_input_filter(Filter if (!ifilter->ist->dec) { av_log(NULL, AV_LOG_ERROR, - "No decoder for stream #%d:%d, filtering impossible\n", + "This build of ffmpeg does not have a suitable decoder for stream #%d:%d enabled, filtering impossible\n", ifilter->ist->file_index, ifilter->ist->st->index); return AVERROR_DECODER_NOT_FOUND; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor