mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
mxfmpeg: Set the essence container UL byte 13 to 0x10 for h264
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.
This commit is contained in:
parent
21348cf772
commit
adb01a23da
1 changed files with 1 additions and 0 deletions
|
@ -1308,6 +1308,7 @@ mxf_mpeg_video_get_descriptor (GstPadTemplate * tmpl, GstCaps * caps,
|
||||||
*mapping_data = g_new0 (MXFMPEGEssenceType, 1);
|
*mapping_data = g_new0 (MXFMPEGEssenceType, 1);
|
||||||
memcpy (*mapping_data, &type, sizeof (MXFMPEGEssenceType));
|
memcpy (*mapping_data, &type, sizeof (MXFMPEGEssenceType));
|
||||||
ret->parent.parent.picture_essence_coding.u[13] = 0x30;
|
ret->parent.parent.picture_essence_coding.u[13] = 0x30;
|
||||||
|
ret->parent.parent.parent.essence_container.u[13] = 0x10;
|
||||||
} else {
|
} else {
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue