[mythtv-commits] Ticket #13186: Replace deprecated ffmpeg functions
MythTV
noreply at mythtv.org
Mon Dec 4 20:22:58 UTC 2017
#13186: Replace deprecated ffmpeg functions
------------------------------+-----------------------------
Reporter: pbennett | Owner: pbennett
Type: Developer Task | Status: accepted
Priority: minor | Milestone: 30.0
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------+-----------------------------
Changes (by pbennett):
* status: new => accepted
Comment:
Patch 003 - fix deprecated calls to avcodec_encode_audio2
Now that avcodec_encode_audio2 is deprecated and replaced by 2 calls, this
could be optimized into separate routines or separate threads.
avcodec_encode_audio2 calls become
* avcodec_receive_packet
* avcodec_send_frame
If ret from avcodec_send_frame is AVERROR(EAGAIN) then there are 2 packets
to be received while only 1 frame to be sent. The code does not cater for
this. Hopefully it will not happen.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13186#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list