summaryrefslogtreecommitdiffstats
path: root/sys/vdpau
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vdpau')
-rw-r--r--sys/vdpau/gstvdpmpegdecoder.c1
-rw-r--r--sys/vdpau/mpegutil.c1
-rw-r--r--sys/vdpau/mpegutil.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpmpegdecoder.c b/sys/vdpau/gstvdpmpegdecoder.c
index be432281..053cf1c0 100644
--- a/sys/vdpau/gstvdpmpegdecoder.c
+++ b/sys/vdpau/gstvdpmpegdecoder.c
@@ -216,6 +216,7 @@ gst_vdp_mpeg_decoder_parse_picture_coding (GstVdpMpegDecoder * mpeg_dec,
info->concealment_motion_vectors = pic_ext.concealment_motion_vectors;
info->q_scale_type = pic_ext.q_scale_type;
info->intra_vlc_format = pic_ext.intra_vlc_format;
+ info->alternate_scan = pic_ext.alternate_scan;
return TRUE;
}
diff --git a/sys/vdpau/mpegutil.c b/sys/vdpau/mpegutil.c
index 7ef46fb2..929df4ab 100644
--- a/sys/vdpau/mpegutil.c
+++ b/sys/vdpau/mpegutil.c
@@ -337,6 +337,7 @@ mpeg_util_parse_picture_coding_extension (MPEGPictureExt * ext, guint8 * data,
ext->concealment_motion_vectors = read_bits (data + 3, 2, 1);
ext->q_scale_type = read_bits (data + 3, 3, 1);
ext->intra_vlc_format = read_bits (data + 3, 4, 1);
+ ext->alternate_scan = read_bits (data + 3, 5, 1);
return TRUE;
}
diff --git a/sys/vdpau/mpegutil.h b/sys/vdpau/mpegutil.h
index 5fb47290..24a29a35 100644
--- a/sys/vdpau/mpegutil.h
+++ b/sys/vdpau/mpegutil.h
@@ -90,6 +90,7 @@ struct MPEGPictureExt
guint8 concealment_motion_vectors;
guint8 q_scale_type;
guint8 intra_vlc_format;
+ guint8 alternate_scan;
};
struct MPEGPictureGOP