mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
[MOVED FROM BAD 038/134] vp8enc: Correctly ignore non-frame packets from the encoder
Fixes bug #619916.
This commit is contained in:
parent
951b3a1594
commit
e0aa93f455
1 changed files with 4 additions and 2 deletions
|
@ -565,7 +565,8 @@ gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder)
|
|||
pkt->kind);
|
||||
|
||||
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
||||
GST_ERROR_OBJECT (encoder, "non frame pkt");
|
||||
pkt = vpx_codec_get_cx_data (&encoder->encoder, &iter);
|
||||
GST_LOG_OBJECT (encoder, "non frame pkt: %d", pkt->kind);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -744,7 +745,8 @@ gst_vp8_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder,
|
|||
pkt->kind);
|
||||
|
||||
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
||||
GST_ERROR_OBJECT (encoder, "non frame pkt");
|
||||
pkt = vpx_codec_get_cx_data (&encoder->encoder, &iter);
|
||||
GST_LOG_OBJECT (encoder, "non frame pkt: %d", pkt->kind);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue