summaryrefslogtreecommitdiff
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:28:08 +0200
commitb5b7856f03c404e0e2ea508c27d40e84bbc8bf3e (patch)
tree471ec61c1f5f7e89b17878f04a477ce0719d6ec4
parent849278707344062d4c820294ad91e716e7b1675d (diff)
downloadgst-vaapi-b5b7856f03c404e0e2ea508c27d40e84bbc8bf3e.tar.gz
mpeg4: fix debug info for unsupported profile.
-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) {