From 8e3994ad8f6192c4c8d3544db0c0ea3a02023111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 28 May 2010 16:35:12 +0200 Subject: [PATCH] [MOVED FROM BAD 039/134] vp8enc: Move debug output one line above where the packet is still valid --- ext/vp8/gstvp8enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index 8c5fc8396a..285473cae1 100644 --- a/ext/vp8/gstvp8enc.c +++ b/ext/vp8/gstvp8enc.c @@ -565,8 +565,8 @@ gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder) pkt->kind); 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); + pkt = vpx_codec_get_cx_data (&encoder->encoder, &iter); continue; } @@ -745,8 +745,8 @@ gst_vp8_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder, pkt->kind); 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); + pkt = vpx_codec_get_cx_data (&encoder->encoder, &iter); continue; }