From cf75d048a174a8349c84cffbad7ba4151718d817 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Fri, 7 Sep 2012 16:15:40 +0200 Subject: mpeg4: fix debug info for unsupported profile. --- gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3