projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1181436
)
mxfdemux: Also allow picture essence element type 0x05 for VC-3
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 12 Aug 2019 17:26:51 +0000
(20:26 +0300)
committer
Sebastian Dröge
<slomo@coaxion.net>
Mon, 12 Aug 2019 18:19:46 +0000
(18:19 +0000)
It's found like this in various files out there even if it does not
conform to SMPTE 2019-4.
gst/mxf/mxfvc3.c
patch
|
blob
|
history
diff --git
a/gst/mxf/mxfvc3.c
b/gst/mxf/mxfvc3.c
index
4200d11
..
c64ef90
100644
(file)
--- a/
gst/mxf/mxfvc3.c
+++ b/
gst/mxf/mxfvc3.c
@@
-89,7
+89,8
@@
mxf_vc3_handle_essence_element (const MXFUL * key, GstBuffer * buffer,
*outbuf = buffer;
/* SMPTE 2019-4 6.1 */
- if (key->u[12] != 0x15 || (key->u[14] != 0x0C && key->u[14] != 0x0D)) {
+ if (key->u[12] != 0x15 || (key->u[14] != 0x05 && key->u[14] != 0x0C
+ && key->u[14] != 0x0D)) {
GST_ERROR ("Invalid VC-3 essence element");
return GST_FLOW_ERROR;
}