void-packages/srcpkgs/electron19/files/patches/chromium-unbundle-ffmpeg-av_stream_get_first_dts.patch
Đoàn Trần Công Danh 116661dd4b Revert "electron19: drop package"
Rocket.Chat-Desktop still uses electron19.
electron19 still in the repo.

This reverts commit c4d86008da.
2024-03-31 16:18:02 +07:00

12 lines
393 B
Diff

diff --git a/build/linux/unbundle/ffmpeg.gn b/build/linux/unbundle/ffmpeg.gn
index 16e20744706..6a079b32221 100644
--- a/build/linux/unbundle/ffmpeg.gn
+++ b/build/linux/unbundle/ffmpeg.gn
@@ -12,6 +12,7 @@ pkg_config("system_ffmpeg") {
"libavformat",
"libavutil",
]
+ defines = [ "av_stream_get_first_dts(stream)=stream->first_dts" ]
}
buildflag_header("ffmpeg_features") {