summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-07-16 17:27:09 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-07-16 17:27:09 -0400
commitff907b11b676481b775b8da7fd6c0b04fc75aaf7 (patch)
tree90d5c6c4ea9cb6ee67e8ba64d7bf4fe0974690be
parent5e051fa98aeebdce2eca6b321ec1929e6f8fdf61 (diff)
downloadgst-plugins-bad-ff907b11b676481b775b8da7fd6c0b04fc75aaf7.tar.gz
gst-plugins-bad-ff907b11b676481b775b8da7fd6c0b04fc75aaf7.tar.bz2
gst-plugins-bad-ff907b11b676481b775b8da7fd6c0b04fc75aaf7.zip
mimenc: Don't pretend to be ML20 if paused
-rw-r--r--ext/mimic/gstmimenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mimic/gstmimenc.c b/ext/mimic/gstmimenc.c
index 84f34012..fce5a47d 100644
--- a/ext/mimic/gstmimenc.c
+++ b/ext/mimic/gstmimenc.c
@@ -392,7 +392,7 @@ gst_mimenc_create_tcp_header (GstMimEnc * mimenc, guint32 payload_size,
*((guint16 *) (p + 4)) = GUINT16_TO_LE (mimenc->height);
*((guint16 *) (p + 6)) = keyframe ? 1 : 0;
*((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 *) (p + 16)) = 0;
*((guint32 *) (p + 20)) = timestamp / GST_MSECOND;