summaryrefslogtreecommitdiff
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-07 16:15:40 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-07 16:23:43 +0200
commitcf75d048a174a8349c84cffbad7ba4151718d817 (patch)
tree464806b50b475300d5d37a2ee01a566fd174bd0f /gst-libs/gst
parent61cc02f54b573d3daeb678102cc00a4ac54b77ca (diff)
mpeg4: fix debug info for unsupported profile.
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c
index af2945f7..84e20203 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) {