mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
va: vpp: use gst_clear_caps()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2007>
This commit is contained in:
parent
6ae2494887
commit
b6e8741c29
1 changed files with 2 additions and 8 deletions
|
@ -162,14 +162,8 @@ gst_va_vpp_dispose (GObject * object)
|
|||
gst_clear_object (&self->sinkpad_pool);
|
||||
}
|
||||
|
||||
if (self->incaps) {
|
||||
gst_caps_unref (self->incaps);
|
||||
self->incaps = NULL;
|
||||
}
|
||||
if (self->outcaps) {
|
||||
gst_caps_unref (self->outcaps);
|
||||
self->outcaps = NULL;
|
||||
}
|
||||
gst_clear_caps (&self->incaps);
|
||||
gst_clear_caps (&self->outcaps);
|
||||
|
||||
gst_clear_object (&self->filter);
|
||||
gst_clear_object (&self->display);
|
||||
|
|
Loading…
Reference in a new issue