mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
x264enc: Don't unref future state but the old one
Being silly will lead us nowhere.
This commit is contained in:
parent
55037ab411
commit
0243810e1e
1 changed files with 1 additions and 1 deletions
|
@ -1676,7 +1676,7 @@ gst_x264_enc_set_format (GstVideoEncoder * video_enc,
|
|||
}
|
||||
|
||||
if (encoder->input_state)
|
||||
gst_video_codec_state_unref (state);
|
||||
gst_video_codec_state_unref (encoder->input_state);
|
||||
encoder->input_state = gst_video_codec_state_ref (state);
|
||||
|
||||
encoder->peer_profile = NULL;
|
||||
|
|
Loading…
Reference in a new issue