mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 11:29:55 +00:00
x264enc: get_caps function should return a copy of the caps
This commit is contained in:
parent
6f91a5f84e
commit
cd5fc6ed8d
1 changed files with 1 additions and 1 deletions
|
@ -1466,7 +1466,7 @@ gst_x264_enc_sink_get_caps (GstPad * pad)
|
|||
|
||||
/* If we already have caps return them */
|
||||
if (GST_PAD_CAPS (pad))
|
||||
return GST_PAD_CAPS (pad);
|
||||
return gst_caps_copy (GST_PAD_CAPS (pad));
|
||||
|
||||
encoder = GST_X264_ENC (gst_pad_get_parent (pad));
|
||||
if (!encoder)
|
||||
|
|
Loading…
Reference in a new issue