summaryrefslogtreecommitdiff
path: root/omx/gstomxh263enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'omx/gstomxh263enc.c')
-rw-r--r--omx/gstomxh263enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/omx/gstomxh263enc.c b/omx/gstomxh263enc.c
index 2fea91e..e3c1a99 100644
--- a/omx/gstomxh263enc.c
+++ b/omx/gstomxh263enc.c
@@ -197,13 +197,13 @@ gst_omx_h263_enc_set_format (GstOMXVideoEnc * enc, GstOMXPort * port,
return TRUE;
unsupported_profile:
- gst_caps_unref (peercaps);
GST_ERROR_OBJECT (self, "Unsupported profile %u", profile_id);
+ gst_caps_unref (peercaps);
return FALSE;
unsupported_level:
- gst_caps_unref (peercaps);
GST_ERROR_OBJECT (self, "Unsupported level %u", level_id);
+ gst_caps_unref (peercaps);
return FALSE;
}