mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
update for _get_caps() -> _query_caps()
This commit is contained in:
parent
2aac4ddabf
commit
1754aa707a
1 changed files with 1 additions and 1 deletions
|
@ -1678,7 +1678,7 @@ gst_x264_enc_sink_get_caps (GstPad * pad, GstCaps * filter)
|
|||
GstCaps *peercaps;
|
||||
guint i, n;
|
||||
|
||||
peercaps = gst_pad_get_caps (peer, NULL);
|
||||
peercaps = gst_pad_query_caps (peer, NULL);
|
||||
|
||||
/* Translate peercaps to YUV */
|
||||
peercaps = gst_caps_make_writable (peercaps);
|
||||
|
|
Loading…
Reference in a new issue