… items every 5 seconds. Instead run CStopWatch when activating channel window, check if 5 seconds elapsed and then inavlidate window and reset watch.
This version of libavformat is from Oct 15, 2010 (commit 03700d399bcc749ad7916f2d39a99527f37c8b6e). The first release to include it was ffmpeg 0.7.1 (24 June 2011).
This version of libavcodec is from Nov 10, 2008 (commit 3155716677eac826b998b487db66927796f6a833). The first release to include it was ffmpeg 0.6 (15 June 2010).
This version of libavformat is from May 22, 2008 (commit 79d7836a5e213d547629555e3f1157e7197aef68). The first release to include it was ffmpeg 0.5 (3 March 2009).
This test (which presumably checks for LIBAVCODEC_VERSION_MAJOR >= 52) seems both obsolete and incorrect. The major version is shifted 16 bits, not 12. Major version 52 was introduced in commit dd1c8f3e6e5380f993c86750bb09fd42e130143f (from Sept 8, 2008) so this check is anyhow obsolete.
Commit 2626cc4580bfd560c6983338d77b2c11c16af94f in the ffmpeg repo changed the codec id of matroska embedded S_TEXT/UTF-8 subtitles from CODEC_ID_TEXT to AV_CODEC_ID_SUBRIP. That commit is part of ffmpeg 1.0 and later. Add the new codec id to provide compatibility for the updated ffmpeg library and external ffmpeg libraries.
…fmpeg and use the old make for the rest.