mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
omxvideoenc: Store correct input state
This commit is contained in:
parent
fb3b213b3e
commit
98cf9f6fe2
1 changed files with 1 additions and 1 deletions
|
@ -1275,7 +1275,7 @@ gst_omx_video_enc_set_format (GstVideoEncoder * encoder,
|
|||
|
||||
if (self->input_state)
|
||||
gst_video_codec_state_unref (self->input_state);
|
||||
self->input_state = gst_video_codec_state_ref (self->input_state);
|
||||
self->input_state = gst_video_codec_state_ref (state);
|
||||
|
||||
/* Start the srcpad loop again */
|
||||
GST_DEBUG_OBJECT (self, "Starting task again");
|
||||
|
|
Loading…
Reference in a new issue