summaryrefslogtreecommitdiff
path: root/repo/apps/chromium/unbundle-ffmpeg-av_stream_get_first_dts.patch
blob: dae1adde0bc6652e1afadc56cb65c2c271a8ea68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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") {