summaryrefslogtreecommitdiff
path: root/omx/gstomxh263enc.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-01 12:23:54 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-01 12:24:09 +0100
commit0b348473fa139b90ba121e7e2c3456cdc3604433 (patch)
tree65b572f497447f9b355bd404e33e6b6c58899deb /omx/gstomxh263enc.c
parenteef92abf2897d398d7a5cf21f187e152c05acacf (diff)
downloadgst-omx-0b348473fa139b90ba121e7e2c3456cdc3604433.tar.gz
omxvideoenc: And set it actually on the right port
Diffstat (limited to 'omx/gstomxh263enc.c')
-rw-r--r--omx/gstomxh263enc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/omx/gstomxh263enc.c b/omx/gstomxh263enc.c
index d7a2d20..35d3358 100644
--- a/omx/gstomxh263enc.c
+++ b/omx/gstomxh263enc.c
@@ -88,9 +88,12 @@ gst_omx_h263_enc_set_format (GstOMXVideoEnc * enc, GstOMXPort * port,
OMX_ERRORTYPE err;
guint profile_id, level_id;
- gst_omx_port_get_port_definition (port, &port_def);
+ gst_omx_port_get_port_definition (GST_OMX_VIDEO_ENC (self)->enc_out_port,
+ &port_def);
port_def.format.video.eCompressionFormat = OMX_VIDEO_CodingH263;
- err = gst_omx_port_update_port_definition (port, &port_def);
+ err =
+ gst_omx_port_update_port_definition (GST_OMX_VIDEO_ENC
+ (self)->enc_out_port, &port_def);
if (err != OMX_ErrorNone)
return FALSE;