mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
mfc: Set format field of the instance struct
This commit is contained in:
parent
43ea557b9c
commit
b765e33b86
1 changed files with 2 additions and 1 deletions
|
@ -510,9 +510,10 @@ gst_mfc_dec_negotiate (GstVideoDecoder * decoder)
|
|||
}
|
||||
gst_caps_unref (allowed_caps);
|
||||
|
||||
self->format = format;
|
||||
state =
|
||||
gst_video_decoder_set_output_state (GST_VIDEO_DECODER (self),
|
||||
format, self->crop_width, self->crop_height, self->input_state);
|
||||
self->format, self->crop_width, self->crop_height, self->input_state);
|
||||
|
||||
gst_video_codec_state_unref (state);
|
||||
|
||||
|
|
Loading…
Reference in a new issue