mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
mimenc: Don't pretend to be ML20 if paused
This commit is contained in:
parent
5e051fa98a
commit
ff907b11b6
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ gst_mimenc_create_tcp_header (GstMimEnc * mimenc, guint32 payload_size,
|
||||||
*((guint16 *) (p + 4)) = GUINT16_TO_LE (mimenc->height);
|
*((guint16 *) (p + 4)) = GUINT16_TO_LE (mimenc->height);
|
||||||
*((guint16 *) (p + 6)) = keyframe ? 1 : 0;
|
*((guint16 *) (p + 6)) = keyframe ? 1 : 0;
|
||||||
*((guint32 *) (p + 8)) = GUINT32_TO_LE (payload_size);
|
*((guint32 *) (p + 8)) = GUINT32_TO_LE (payload_size);
|
||||||
*((guint32 *) (p + 12)) =
|
*((guint32 *) (p + 12)) = paused ? 0 :
|
||||||
GUINT32_TO_LE (GST_MAKE_FOURCC ('M', 'L', '2', '0'));
|
GUINT32_TO_LE (GST_MAKE_FOURCC ('M', 'L', '2', '0'));
|
||||||
*((guint32 *) (p + 16)) = 0;
|
*((guint32 *) (p + 16)) = 0;
|
||||||
*((guint32 *) (p + 20)) = timestamp / GST_MSECOND;
|
*((guint32 *) (p + 20)) = timestamp / GST_MSECOND;
|
||||||
|
|
Loading…
Reference in a new issue