From b5180cea9eac2a4d8cbe10f08d804e74a0ee0ddd Mon Sep 17 00:00:00 2001 From: zhongcong Date: Tue, 7 May 2013 17:27:07 +0800 Subject: [PATCH] h264: fix extended profile not support bug extended profile is not defind in libva,but most of them are supported in gst-vaapi Signed-off-by: zhongcong --- gst-libs/gst/vaapi/gstvaapidecoder_h264.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h264.c b/gst-libs/gst/vaapi/gstvaapidecoder_h264.c index 18e1491..bed1a4a 100755 --- a/gst-libs/gst/vaapi/gstvaapidecoder_h264.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_h264.c @@ -1041,6 +1041,7 @@ h264_get_profile(GstH264SPS *sps) profile = GST_VAAPI_PROFILE_H264_BASELINE; break; case 77: + case 88: profile = GST_VAAPI_PROFILE_H264_MAIN; break; case 100: -- 1.7.9.5