summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2021-07-27 12:13:43 +0200
committerEdward Hervey <bilboed@bilboed.com>2021-07-27 12:18:31 +0200
commitb3504a0192d47766d5c1d4a29594c03275a24ed3 (patch)
tree7bed2f631bd0ad364c14bfb9517799537c7e626b /gst
parentc27a01233d3a53ef22c7aedace1d22b8d36e021d (diff)
downloadgstreamer-plugins-bad-b3504a0192d47766d5c1d4a29594c03275a24ed3.tar.gz
mxf: Handle D10 "picture only" variant
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/80 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2436>
Diffstat (limited to 'gst')
-rw-r--r--gst/mxf/mxfd10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mxf/mxfd10.c b/gst/mxf/mxfd10.c
index 21401cf52..66c071372 100644
--- a/gst/mxf/mxfd10.c
+++ b/gst/mxf/mxfd10.c
@@ -64,7 +64,7 @@ mxf_is_d10_essence_track (const MXFMetadataTimelineTrack * track)
if (mxf_is_generic_container_essence_container_label (key) &&
key->u[12] == 0x02 && key->u[13] == 0x01 &&
(key->u[14] >= 0x01 && key->u[14] <= 0x06) &&
- (key->u[15] == 0x01 || key->u[15] == 0x02))
+ (key->u[15] == 0x01 || key->u[15] == 0x02 || key->u[15] == 0x7f))
return TRUE;
}