From: <sl...@ke...> - 2010-05-28 14:36:16
|
Module: gst-plugins-bad Branch: master Commit: e9c48d1671ec4d192ecd2fd8cb784655b91a21bd URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=e9c48d1671ec4d192ecd2fd8cb784655b91a21bd Author: Sebastian Dröge <seb...@co...> Date: Fri May 28 16:35:12 2010 +0200 vp8enc: Move debug output one line above where the packet is still valid --- ext/vp8/gstvp8enc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index 8c5fc83..285473c 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; } |