mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
omxvideodec: don't unref caps before logging field from it
https://bugzilla.gnome.org/show_bug.cgi?id=728322
This commit is contained in:
parent
21b3c2b16a
commit
da4cf3da1f
1 changed files with 1 additions and 1 deletions
|
@ -1628,7 +1628,6 @@ gst_omx_video_dec_negotiate (GstOMXVideoDec * self)
|
|||
(GDestroyNotify) gst_omx_video_negotiation_map_free);
|
||||
return FALSE;
|
||||
}
|
||||
gst_caps_unref (intersection);
|
||||
|
||||
GST_OMX_INIT_STRUCT (¶m);
|
||||
param.nPortIndex = self->dec_out_port->index;
|
||||
|
@ -1658,6 +1657,7 @@ gst_omx_video_dec_negotiate (GstOMXVideoDec * self)
|
|||
gst_omx_error_to_string (err), err);
|
||||
}
|
||||
|
||||
gst_caps_unref (intersection);
|
||||
return (err == OMX_ErrorNone);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue