[MOVED FROM BAD 039/134] vp8enc: Move debug output one line above where the packet is still valid

This commit is contained in:
Sebastian Dröge 2010-05-28 16:35:12 +02:00
parent e0aa93f455
commit 8e3994ad8f

View file

@ -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;
} }