mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
theoraenc: Call video_encoder_negotiate() once configured
This commit is contained in:
parent
d2e1b64e0c
commit
6830a7f744
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue