media-video/mpv: make message less scary in ffmpeg patch
authorIlya Tumaykin <itumaykin@gmail.com>
Sun, 12 Feb 2017 21:15:50 +0000 (00:15 +0300)
committerDavid Seifert <soap@gentoo.org>
Tue, 14 Feb 2017 21:41:03 +0000 (22:41 +0100)
"Most likely a broken build" isn't the best thing to tell our users
especially because in most cases it isn't a broken build.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

media-video/mpv/files/mpv-0.19.0-make-ffmpeg-version-check-non-fatal.patch

index 96a1f566a6004d6f29819f648baa393835b51248..7c8d5b44c825540d057676c49c0393aabf352bb4 100644 (file)
@@ -3,7 +3,7 @@ player: make ffmpeg/libav version check non-fatal
 We already enforce mpv rebuilds when ffmpeg/libav SONAME changes.
 
 diff --git a/player/main.c b/player/main.c
-index 67dde34..ee133a9 100644
+index 67dde3449..696d2e716 100644
 --- a/player/main.c
 +++ b/player/main.c
 @@ -419,13 +419,12 @@ int mp_initialize(struct MPContext *mpctx, char **options)
@@ -20,9 +20,9 @@ index 67dde34..ee133a9 100644
 +        print_libav_versions(mpctx->log, MSGL_WARN);
 +        MP_WARN(mpctx, "\nmpv was compiled against a different version of "
 +                "FFmpeg/Libav than the shared\nlibrary it is linked against. "
-+                "This is most likely a broken build and could\nresult in "
-+                "misbehavior and crashes.\n\nUpstream does not support this "
-+                "configuration.\nPlease rebuild mpv in case of any problems.\n");
++                "This could result in misbehavior and crashes.\n\n"
++                "Upstream does not support this configuration.\n"
++                "Please rebuild mpv in case of any problems.\n");
      }
 
      if (opts->dump_stats && opts->dump_stats[0]) {