mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:46:13 +00:00
applemedia: replace usage of deprecated gst_pad_set_caps() in vtdec
This commit is contained in:
parent
af6df7292c
commit
bace18bacc
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ gst_vtdec_negotiate_downstream (GstVTDec * self)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
caps = gst_video_info_to_caps (&self->vinfo);
|
caps = gst_video_info_to_caps (&self->vinfo);
|
||||||
result = gst_pad_set_caps (self->srcpad, caps);
|
result = gst_pad_push_event (self->srcpad, gst_event_new_caps (caps));
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue