theoraenc: Call video_encoder_negotiate() once configured

This commit is contained in:
Vivia Nikolaidou 2012-07-24 18:02:08 +00:00 committed by Sebastian Dröge
parent d2e1b64e0c
commit 6830a7f744

View file

@ -942,6 +942,8 @@ theora_enc_handle_frame (GstVideoEncoder * benc, GstVideoCodecFrame * frame)
gst_video_codec_state_unref (state);
gst_video_encoder_negotiate (GST_VIDEO_ENCODER (enc));
gst_video_encoder_set_headers (benc, buffers);
theora_enc_reset_ts (enc, running_time, frame->presentation_frame_number);