bugGnash - The GNU Flash player - Bugs: bug #47248, Old CODECID constants in...


bug #47248: Old CODECID constants in VideoDecoderFfmpegVaapi.cpp

Submitted by:  Rafal Rzepecki <divide>
Submitted on:  Thu 25 Feb 2016 12:13:14 AM UTC  
Category: video-ffmpegSeverity: 3 - Normal
Release: masterStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 25 Feb 2016 08:03:49 AM UTC, comment #1:

Could you please provide a patch for this ?

Sandro Santilli <strk>
Project Member
Thu 25 Feb 2016 12:13:14 AM UTC, original submission:

libmedia/ffmpeg/VideoDecoderFfmpegVaapi.cpp uses old style CODECID constants like CODEC_ID_MPEG2VIDEO, which aren't present in newer libav versions, having been replaced by eg. AV_CODEC_ID_MPEG2VIDEO.

In fact gnash already includes polyfills in libmedia/ffmpeg/ffmpegHeaders.h, so just replacing the constants with the new style ones will fix it while still not breaking on older libav headers.

Rafal Rzepecki <divide>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by divide (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1