mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
[MOVED FROM BAD 003/134] vp8enc: Fill the oldest pending frame instead of the newest
This commit is contained in:
parent
5f7655d481
commit
522e0cb779
1 changed files with 1 additions and 0 deletions
|
@ -547,6 +547,7 @@ gst_vp8_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder,
|
|||
GST_ERROR ("encode returned %d %s", status, vpx_error_name (status));
|
||||
}
|
||||
|
||||
frame = gst_base_video_encoder_get_oldest_frame (base_video_encoder);
|
||||
pkt = vpx_codec_get_cx_data (&encoder->encoder, &iter);
|
||||
if (pkt != NULL) {
|
||||
GST_DEBUG ("packet %d type %d", pkt->data.frame.sz, pkt->kind);
|
||||
|
|
Loading…
Reference in a new issue