

- Audiodevice deprecated Patch#
- Audiodevice deprecated code#
- Audiodevice deprecated plus#
- Audiodevice deprecated free#
- Audiodevice deprecated mac#
Audiodevice deprecated mac#
In particular, crystal HD, Windows, and Apple MAC playback may not work. Some areas not yet changed and not tested. Tested playback of recordings, Live TV, Videos, DVD's'.
Audiodevice deprecated Patch#
The patch is tested with Standard decoding(ffmpeg), VAAPI, VDPAU, OpenMAX (Raspberry pi).

It seems to be working consistently correctly after these changes, although I could not identify which change made the difference. That makes it very difficult to navigate a DVD.
Audiodevice deprecated code#
Note the old code must still be used for any AVCodecContext obtained from stream->codec.ĭVD menu highlighting on the title menu has been working intermittently for some time. Existing code which uses stream->codec must instead keep track of the axctx value to use each time a packet is received. The avctx must saved and the same value used for subsequent calls with that stream.

Instead of AVStream::codec, the AVStream::codecpar structure contains the information you need to allocate your own AVStream.ĪVCodec *pCodec = avcodec_find_decoder(stream->codecpar->codec_id) ĪVCodecContext *avctx = avcodec_alloc_context3(pCodec) Īvcodec_parameters_to_context(avctx, stream->codecpar) Īv_codec_set_pkt_timebase(avctx, stream->time_base) For more information google FF_API_LAVF_AVCTX. See external/FFmpeg/libavformat/version.h, which has a list of defines that will be set in future to disable this and others. It is only defined in ffmpeg if you define FF_API_LAVF_AVCTX when compiling ffmpeg. "codec" no longer shows in the online documentation for AVStream. Where possible the code now uses those fields, to avoid having to create an AVCodecContext. In many cases, reference fields in AVStream::codec are now available in AVStream::codecpar.
Audiodevice deprecated free#
The deprecated function avcodec_close must not be called on an AVCodecContext that you create, instead you have to free the AVCodecContext (using avcodec_free_context) and allocate a new one if you want to read the stream again. The AVCodecContext that the application creates may not be opened and closed more than once. This is deprecated and the application code is now responsible for creating and freeing an AVCodecContext when needed. The context can be opened and closed again any number of times. In the old method, ffmpeg automatically creates an AVCodecContext for every AVStream. As of this patch it is still using stream->codec in those cases. There is still a problem that stream->codec is used by some MythTV modifications to FFMPEG code. It is now changed to use stream->codecpar wherever possible, and to check whether an AVCodecContext exists in cases where it may have failed to be created. The original patch crashed on some streams that do not have codecs (e.g. Patch 005 - deprecated AVStream::codec and avcodec_close Patch 012 - Fix deprecated avcodec_encode_video2 in mpeg2fix.cppĠ13_deinterlace.patch ( 875 bytes) - added by Peter Bennett 5 years ago.Įxport_info.jpeg ( 492.2 KB) - added by 5 years ago.Ġ14_plugin_build_lib_fix.patch ( 478 bytes) - added by Peter Bennett 5 years ago.Ġ15_mheg_avstream_codec.patch ( 2.8 KB) - added by Peter Bennett 5 years ago.
Audiodevice deprecated plus#
Patch 011 - Fix deprecated AVCodecContext fields plus some other left overs.Ġ12_mpeg2fix_avcodec_encode_video2.patch ( 1.5 KB) - added by Peter Bennett 5 years ago. Patch 010 - Fix segfault when jumping in file with multiple video streams.Ġ11_deprecated_codec_context_options.patch ( 8.5 KB) - added by Peter Bennett 5 years ago. Patch 009 - AVStream::codec and related functions in PluginsĠ10_jump_segfault.patch ( 1.1 KB) - added by Peter Bennett 5 years ago. Patch 008 avcodec_decode_video in PluginsĠ09_avstream_codec_plugins.patch ( 9.6 KB) - added by Peter Bennett 5 years ago. Patch 006 - deprecated AVStream::codec, avcodec_close, avcodec_get_context_defaults3Ġ07_avpicture_plugins.patch ( 3.7 KB) - added by Peter Bennett 5 years ago.Ġ08_avcodec_decode_video2_plugins.patch ( 3.4 KB) - added by Peter Bennett 5 years ago. Updated Patch 005 - AVStream::codec in avformatdecoderĠ06_more_avstream_codec.patch ( 18.6 KB) - added by Peter Bennett 5 years ago. 002_avpicture.patch ( 62.1 KB) - added by Peter Bennett 5 years ago.Ġ01_avcodec_decode_audio4.2.patch ( 3.1 KB) - added by Peter Bennett 5 years ago.Ġ03_avcodec_encode_audio2.patch ( 5.4 KB) - added by Peter Bennett 5 years ago.Ġ04_avcodec_decode_video2.patch ( 5.9 KB) - added by Peter Bennett 5 years ago.Ġ05_avstream_codec_avformatdecoder.patch ( 37.9 KB) - added by Peter Bennett 5 years ago.
