From 5cb42081a5c401192cc5b2897181eb05e260adab Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 17 Feb 2012 13:26:53 +0100 Subject: [PATCH] mpegaudioparse: parse either Xing or VBRI data ... and avoid confusing debug message claiming neither present. --- gst/audioparsers/gstmpegaudioparse.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gst/audioparsers/gstmpegaudioparse.c b/gst/audioparsers/gstmpegaudioparse.c index 2381fc36d0..efb97587ad 100644 --- a/gst/audioparsers/gstmpegaudioparse.c +++ b/gst/audioparsers/gstmpegaudioparse.c @@ -791,9 +791,7 @@ gst_mpeg_audio_parse_handle_first_frame (GstMpegAudioParse * mp3parse, GST_DEBUG_OBJECT (mp3parse, "Encoder delay %u, encoder padding %u", encoder_delay, encoder_padding); } - } - - if (read_id_vbri == vbri_id) { + } else if (read_id_vbri == vbri_id) { gint64 total_bytes, total_frames; GstClockTime total_time; guint16 nseek_points;