summaryrefslogtreecommitdiff
path: root/mozilla-1670333.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-10-15 11:07:22 +0200
committerMartin Stransky <stransky@redhat.com>2020-10-15 11:07:22 +0200
commit39ad1ccbc1ed329f09449d0824476266c5420a5e (patch)
tree67c4874ff95c3ff3cc09e8c7dac3e083a0a10e64 /mozilla-1670333.patch
parentAdded a partial fox for rhbz#1886722 (diff)
downloadlibrewolf-fedora-ff-39ad1ccbc1ed329f09449d0824476266c5420a5e.tar.gz
librewolf-fedora-ff-39ad1ccbc1ed329f09449d0824476266c5420a5e.tar.bz2
librewolf-fedora-ff-39ad1ccbc1ed329f09449d0824476266c5420a5e.zip
Added experimental openh264 seek patch (mzbz#1670333)
Diffstat (limited to 'mozilla-1670333.patch')
-rw-r--r--mozilla-1670333.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/mozilla-1670333.patch b/mozilla-1670333.patch
new file mode 100644
index 0000000..42d42ba
--- /dev/null
+++ b/mozilla-1670333.patch
@@ -0,0 +1,12 @@
+diff -up firefox-81.0.2/dom/media/mp4/MP4Demuxer.cpp.old firefox-81.0.2/dom/media/mp4/MP4Demuxer.cpp
+--- firefox-81.0.2/dom/media/mp4/MP4Demuxer.cpp.old 2020-10-14 17:06:31.424309071 +0200
++++ firefox-81.0.2/dom/media/mp4/MP4Demuxer.cpp 2020-10-14 17:07:31.029533759 +0200
+@@ -394,7 +394,7 @@ already_AddRefed<MediaRawData> MP4TrackD
+ [[fallthrough]];
+ case H264::FrameType::OTHER: {
+ bool keyframe = type == H264::FrameType::I_FRAME;
+- if (sample->mKeyframe != keyframe) {
++ if (sample->mKeyframe && sample->mKeyframe != keyframe) {
+ NS_WARNING(nsPrintfCString("Frame incorrectly marked as %skeyframe "
+ "@ pts:%" PRId64 " dur:%" PRId64
+ " dts:%" PRId64,
bgstack15