mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
mimenc: Write FOURCC as 32bit
This commit is contained in:
parent
f53cecee84
commit
4f3363af4d
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ gst_mimenc_create_tcp_header (GstMimEnc * mimenc, guint32 payload_size,
|
||||||
GST_WRITE_UINT16_LE (p + 4, mimenc->height);
|
GST_WRITE_UINT16_LE (p + 4, mimenc->height);
|
||||||
GST_WRITE_UINT16_LE (p + 6, keyframe ? 1 : 0);
|
GST_WRITE_UINT16_LE (p + 6, keyframe ? 1 : 0);
|
||||||
GST_WRITE_UINT32_LE (p + 8, payload_size);
|
GST_WRITE_UINT32_LE (p + 8, payload_size);
|
||||||
GST_WRITE_UINT16_LE (p + 12, paused ? 0 :
|
GST_WRITE_UINT32_LE (p + 12, paused ? 0 :
|
||||||
GST_MAKE_FOURCC ('M', 'L', '2', '0'));
|
GST_MAKE_FOURCC ('M', 'L', '2', '0'));
|
||||||
GST_WRITE_UINT32_LE (p + 16, 0);
|
GST_WRITE_UINT32_LE (p + 16, 0);
|
||||||
GST_WRITE_UINT32_LE (p + 20, timestamp / GST_MSECOND);
|
GST_WRITE_UINT32_LE (p + 20, timestamp / GST_MSECOND);
|
||||||
|
|
Loading…
Reference in a new issue