[Bug 775962] Occassional addition of codec_data to caps when stream-format: byte-stream

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Dec 12 15:52:16 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=775962

--- Comment #7 from minfrin at sharp.fm ---
Looking further at the omxh264enc code,

static GstCaps *
gst_omx_h264_enc_get_caps (GstOMXVideoEnc * enc, GstOMXPort * port,
    GstVideoCodecState * state)
{
  GstOMXH264Enc *self = GST_OMX_H264_ENC (enc);
  GstCaps *caps;
  OMX_ERRORTYPE err;
  OMX_VIDEO_PARAM_PROFILELEVELTYPE param;
  const gchar *profile, *level;

  caps = gst_caps_new_simple ("video/x-h264",
      "stream-format", G_TYPE_STRING, "byte-stream",
      "alignment", G_TYPE_STRING, "au", NULL);

We seem to hardcode ourselves to stream-format = "byte-stream", are we always
byte-stream or could someone negotiate avc if they wanted to?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list