obs-studio/deps
pkv 41f07913e5 deps/media-playback: Fix hardware decoding of streams
Fixes issue #10369.
Since the update to FFmpeg 6.1, streams to a Media Source are broken
if hardware decoding is enabled (both RTMP or SRT have been reported).
The video is black although the audio is decoded fine.
The manual copy of metadata introduced in commit [1] does not work any
more for some unfathomable reasons.
As a fix we call instead the av_frame_copy_props function used in FFmpeg
app in a similar context (hardware decoding) [2].
The metadata are copied without issues.
There is no need to guard the use of that function since it was
introduced 9 years ago in avutil/frame.c.

[1] 22fde5cdcd
[2] https://github.com/FFmpeg/FFmpeg/master/fftools/ffmpeg_dec.c

Signed-off-by: pkv <pkv@obsproject.com>
2024-03-18 14:13:55 -04:00
..
blake2 deps: Update CMake target source lists with alphabetic sorting 2023-12-19 17:59:44 -05:00
file-updater deps: Update CMake target source lists with alphabetic sorting 2023-12-19 17:59:44 -05:00
glad deps/glad: Add EGL_EXT_device_base related extensions 2024-01-27 17:51:33 -06:00
happy-eyeballs deps: Update CMake target source lists with alphabetic sorting 2023-12-19 17:59:44 -05:00
ipc-util deps: Update CMake target source lists with alphabetic sorting 2023-12-19 17:59:44 -05:00
json11 deps: Update CMake target source lists with alphabetic sorting 2023-12-19 17:59:44 -05:00
libcaption libcaption: Optimize branch conditons 2024-01-03 18:20:38 -05:00
media-playback deps/media-playback: Fix hardware decoding of streams 2024-03-18 14:13:55 -04:00
obs-scripting deps/obs-scripting: Fix lua tick crash 2024-02-03 17:08:53 -06:00
opts-parser deps: Update CMake target source lists with alphabetic sorting 2023-12-19 17:59:44 -05:00
uthash deps: Update CMake target source lists with alphabetic sorting 2023-12-19 17:59:44 -05:00
w32-pthreads deps: Update CMake target source lists with alphabetic sorting 2023-12-19 17:59:44 -05:00
CMakeLists.txt deps: Update CMake target source lists with alphabetic sorting 2023-12-19 17:59:44 -05:00