mxf: Handle D10 "picture only" variant
authorEdward Hervey <edward@centricular.com>
Tue, 27 Jul 2021 10:13:43 +0000 (12:13 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 27 Jul 2021 10:18:31 +0000 (12:18 +0200)
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/80

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2436>

gst/mxf/mxfd10.c

index 21401cf..66c0713 100644 (file)
@@ -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;
   }