diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2015-02-02 14:13:10 +0000 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2015-02-02 14:28:33 +0000 |
commit | 5f075f336189ac72b62349716a5b826b55434d5b (patch) | |
tree | 2de6e9398fdaea31b2887444ed0d7a20f16cc9cb | |
parent | 2c5ba12f2823c9a03e68cba8cf825241595e5fa3 (diff) |
x264enc: set annexb=1 in byte stream mode when downstream has ANY caps
This matches what is done when downstream caps are not ANY, and fixes
prerolling in byte stream mode when typefind is downstream.
-rw-r--r-- | ext/x264/gstx264enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c index dd37c702..0cc05283 100644 --- a/ext/x264/gstx264enc.c +++ b/ext/x264/gstx264enc.c @@ -1796,6 +1796,7 @@ gst_x264_enc_set_format (GstVideoEncoder * video_enc, GST_INFO_OBJECT (encoder, "downstream has ANY caps, outputting byte-stream"); encoder->current_byte_stream = GST_X264_ENC_STREAM_FORMAT_BYTE_STREAM; + g_string_append_printf (encoder->option_string, ":annexb=1"); } else if (allowed_caps) { GstStructure *s; const gchar *profile; |