mfc: Set format field of the instance struct

This commit is contained in:
Sebastian Dröge 2013-01-02 11:44:06 +01:00
parent 43ea557b9c
commit b765e33b86

View file

@ -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);