[mythtv-commits] Ticket #13186: Replace deprecated ffmpeg functions

MythTV noreply at mythtv.org
Sat Dec 2 00:30:31 UTC 2017

#13186: Replace deprecated ffmpeg functions
 Reporter:  pbennett          |          Owner:  pbennett
     Type:  Developer Task    |         Status:  new
 Priority:  minor             |      Milestone:  30.0
Component:  MythTV - General  |        Version:  Master Head
 Severity:  medium            |     Resolution:
 Keywords:                    |  Ticket locked:  0

Comment (by pbennett):

 Patch 001 - fix deprecated calls to avcodec_decode_audio4

 Now that avcodec_decode_audio4 is deprecated and replaced
 by 2 calls (receive frame and send packet), this could be optimized
 into separate routines or separate threads.
 Also now that it always consumes a whole buffer some code
 in the caller may be able to be optimized.

 avcodec_decode_audio4 calls become
 * avcodec_receive_frame
 * avcodec_send_packet

Ticket URL: <https://code.mythtv.org/trac/ticket/13186#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center

More information about the mythtv-commits mailing list