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:
21348cf
)
mxfmpeg: Set the essence container UL byte 13 to 0x10 for h264
author
Sebastian Dröge
<sebastian@centricular.com>
Fri, 20 Nov 2015 15:34:22 +0000
(17:34 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Fri, 20 Nov 2015 20:26:46 +0000
(
01:56
+0530)
0x04 signifies a MPEG elementary stream but according to RP2008, 0x10 should
be used for a h264 byte-stream. This also fixes compatibility of our files
with ffmpeg.
gst/mxf/mxfmpeg.c
patch
|
blob
|
history
diff --git
a/gst/mxf/mxfmpeg.c
b/gst/mxf/mxfmpeg.c
index 0b15bd838ec600d8ddffecd49c71dd81815341cf..7b57d4ded09837a5dec330c81365969aef69b7d0 100644
(file)
--- a/
gst/mxf/mxfmpeg.c
+++ b/
gst/mxf/mxfmpeg.c
@@
-1308,6
+1308,7
@@
mxf_mpeg_video_get_descriptor (GstPadTemplate * tmpl, GstCaps * caps,
*mapping_data = g_new0 (MXFMPEGEssenceType, 1);
memcpy (*mapping_data, &type, sizeof (MXFMPEGEssenceType));
ret->parent.parent.picture_essence_coding.u[13] = 0x30;
+ ret->parent.parent.parent.essence_container.u[13] = 0x10;
} else {
g_assert_not_reached ();
}