diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-03-11 13:12:57 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-03-11 13:13:22 +0100 |
commit | bd53faacc948607e89064693471406ea1c245930 (patch) | |
tree | f653bfc93835ef45a812157454ef2c302979bfc3 | |
parent | 79a1fed0e0bf723018886687b98e2881833a935a (diff) |
omxh264enc: The h264 encoders are supposed to output byte-stream/au
-rw-r--r-- | omx/gstomxh264enc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/omx/gstomxh264enc.c b/omx/gstomxh264enc.c index 3a22841..ad981d7 100644 --- a/omx/gstomxh264enc.c +++ b/omx/gstomxh264enc.c @@ -215,7 +215,9 @@ gst_omx_h264_enc_get_caps (GstOMXVideoEnc * enc, GstOMXPort * port, OMX_VIDEO_PARAM_PROFILELEVELTYPE param; const gchar *profile, *level; - caps = gst_caps_new_empty_simple ("video/x-h264"); + caps = gst_caps_new_simple ("video/x-h264", + "stream-format", G_TYPE_STRING, "byte-stream", + "alignment", G_TYPE_STRING, "au", NULL); GST_OMX_INIT_STRUCT (¶m); param.nPortIndex = GST_OMX_VIDEO_ENC (self)->enc_out_port->index; |