mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
x264enc: don't leak output state
This commit is contained in:
parent
565b21aefb
commit
31b5e86ebd
1 changed files with 1 additions and 0 deletions
|
@ -1362,6 +1362,7 @@ gst_x264_enc_set_src_caps (GstX264Enc * encoder, GstCaps * caps)
|
|||
state = gst_video_encoder_set_output_state (GST_VIDEO_ENCODER (encoder),
|
||||
outcaps, encoder->input_state);
|
||||
GST_DEBUG ("here are the caps: %" GST_PTR_FORMAT, state->caps);
|
||||
gst_video_codec_state_unref (state);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue