Created attachment 354812 [details, diff] patch for ffmpeg-2 The attached patch should probably applied for ffmpeg-2 only
We can't really apply the patch only when the user has ffmpeg-2 installed. Upstream has been responsive in the past, so we could try sending them a backwards-compatible patch.
(In reply to Michael Palimaka (kensington) from comment #1) > We can't really apply the patch only when the user has ffmpeg-2 installed. > > Upstream has been responsive in the past, so we could try sending them a > backwards-compatible patch. AVCodecID should be in ffmpeg 1.0 and libav-9 iirc, that is, the providers of virtual/ffmpeg-9 that it currently depends on, so backward compat isnt really an issue i think
(In reply to Alexis Ballier from comment #2) > AVCodecID should be in ffmpeg 1.0 and libav-9 iirc, that is, the providers > of virtual/ffmpeg-9 that it currently depends on, so backward compat isnt > really an issue i think If you think it's fine, feel free to apply. (is it suitable for upstream?)
s/CodecID/AVCodecID/ which the patch is about and s/CODEC_ID/AV_CODEC_ID/ which the patch doesnt do but should is good for upstream if they are ok with the ffmpeg 1.0/libav-9 requirement
This was fixed upstream for 0.4.10, which I just added to the tree, but please test.