diff options
author | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2016-03-31 12:36:01 +0300 |
---|---|---|
committer | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2016-03-31 12:36:01 +0300 |
commit | 109e02b288583e432926170cfdc15c6420aca714 (patch) | |
tree | f25fd37f6deab388a8cfcbc4c8df01a8c747d008 | |
parent | 1fc69339b6397dc987851c02652c73ad65730be1 (diff) |
decoder: vp9: Align with the ABI changes in vp9 codec parserdec_vp9_10bit
The subsampling_x, subsampling_y, bit_depth, color_space and color_range
fileds are moved from GstVp9FrameHdr to the global GstVp9Parser structure.
These fields are only present in keyframe or intra-only frame, no need to
duplicate them for inter-frames.
https://bugzilla.gnome.org/show_bug.cgi?id=764082
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidecoder_vp9.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_vp9.c b/gst-libs/gst/vaapi/gstvaapidecoder_vp9.c index d0be6168..a93154a5 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_vp9.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_vp9.c @@ -291,8 +291,8 @@ fill_picture (GstVaapiDecoderVp9 * decoder, GstVaapiPicture * picture) #define COPY_BFM(a, s, f) \ pic_param->a.bits.f = (s)->f - COPY_BFM (pic_fields, frame_hdr, subsampling_x); - COPY_BFM (pic_fields, frame_hdr, subsampling_y); + COPY_BFM (pic_fields, parser, subsampling_x); + COPY_BFM (pic_fields, parser, subsampling_y); COPY_BFM (pic_fields, frame_hdr, frame_type); COPY_BFM (pic_fields, frame_hdr, show_frame); COPY_BFM (pic_fields, frame_hdr, error_resilient_mode); @@ -320,7 +320,7 @@ fill_picture (GstVaapiDecoderVp9 * decoder, GstVaapiPicture * picture) COPY_FIELD (frame_hdr, first_partition_size); COPY_FIELD (frame_hdr, profile); #if VA_CHECK_VERSION (0, 39, 0) - COPY_FIELD (frame_hdr, bit_depth); + COPY_FIELD (parser, bit_depth); #endif g_assert (G_N_ELEMENTS (pic_param->mb_segment_tree_probs) == |