vp8enc: Move debug output one line above where the packet is still valid
This commit is contained in:
parent
1e1d52f4fc
commit
e9c48d1671
@ -565,8 +565,8 @@ gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder)
|
|||||||
pkt->kind);
|
pkt->kind);
|
||||||
|
|
||||||
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
||||||
pkt = vpx_codec_get_cx_data (&encoder->encoder, &iter);
|
|
||||||
GST_LOG_OBJECT (encoder, "non frame pkt: %d", pkt->kind);
|
GST_LOG_OBJECT (encoder, "non frame pkt: %d", pkt->kind);
|
||||||
|
pkt = vpx_codec_get_cx_data (&encoder->encoder, &iter);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -745,8 +745,8 @@ gst_vp8_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder,
|
|||||||
pkt->kind);
|
pkt->kind);
|
||||||
|
|
||||||
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {
|
||||||
pkt = vpx_codec_get_cx_data (&encoder->encoder, &iter);
|
|
||||||
GST_LOG_OBJECT (encoder, "non frame pkt: %d", pkt->kind);
|
GST_LOG_OBJECT (encoder, "non frame pkt: %d", pkt->kind);
|
||||||
|
pkt = vpx_codec_get_cx_data (&encoder->encoder, &iter);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user