From: Gwenole Beauchesne Date: Fri, 7 Sep 2012 14:15:40 +0000 (+0200) Subject: mpeg4: fix debug info for unsupported profile. X-Git-Tag: submit/2.0alpha/20121130.011817~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf75d048a174a8349c84cffbad7ba4151718d817;p=profile%2Fivi%2Fgstreamer-vaapi.git mpeg4: fix debug info for unsupported profile. --- diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c index af2945f..84e2020 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c @@ -308,7 +308,7 @@ decode_sequence(GstVaapiDecoderMpeg4 *decoder, const guint8 *buf, guint buf_size profile = GST_VAAPI_PROFILE_MPEG4_ADVANCED_SIMPLE; break; default: - GST_DEBUG("unsupported profile %d", profile); + GST_DEBUG("unsupported profile %d", vos_hdr->profile); return GST_VAAPI_DECODER_STATUS_ERROR_UNSUPPORTED_PROFILE; } if (priv->profile != profile) {