summaryrefslogtreecommitdiff
path: root/src/video_dec
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_dec')
-rw-r--r--src/video_dec/libvdpau/alterh264_decode.c3
-rw-r--r--src/video_dec/libvdpau/alterh264_decode.h1
-rw-r--r--src/video_dec/libvdpau/vdpau_h264.c3
-rw-r--r--src/video_dec/libvdpau/vdpau_mpeg4.c4
-rw-r--r--src/video_dec/libvdpau/vdpau_vc1.c1
5 files changed, 0 insertions, 12 deletions
diff --git a/src/video_dec/libvdpau/alterh264_decode.c b/src/video_dec/libvdpau/alterh264_decode.c
index 1f5c6904b..55e9fdfae 100644
--- a/src/video_dec/libvdpau/alterh264_decode.c
+++ b/src/video_dec/libvdpau/alterh264_decode.c
@@ -383,7 +383,6 @@ reset_sequence (sequence_t * sequence)
dpb_reset (sequence);
memset (&sequence->cur_pic, 0, sizeof (dpb_frame_t));
sequence->reset = VO_NEW_SEQUENCE_FLAG;
- sequence->color_standard = VDP_COLOR_STANDARD_ITUR_BT_601;
}
@@ -1843,8 +1842,6 @@ decode_render (vdpau_h264_alter_decoder_t * vd, int bad_frame)
xine_event_send (vd->stream, &event);
}
- accel->color_standard = seq->color_standard;
-
if (seq->cur_pic.completed == PICTURE_DONE)
{
seq->cur_pic.pts = seq->pic_pts;
diff --git a/src/video_dec/libvdpau/alterh264_decode.h b/src/video_dec/libvdpau/alterh264_decode.h
index 8aefeb21c..368f05430 100644
--- a/src/video_dec/libvdpau/alterh264_decode.h
+++ b/src/video_dec/libvdpau/alterh264_decode.h
@@ -305,7 +305,6 @@ typedef struct
uint16_t prevFrameNumOffset;
uint8_t prevMMC5;
- VdpColorStandard color_standard;
int chroma;
int top_field_first;
VdpDecoderProfile profile;
diff --git a/src/video_dec/libvdpau/vdpau_h264.c b/src/video_dec/libvdpau/vdpau_h264.c
index e8b354ea7..4ac54ad45 100644
--- a/src/video_dec/libvdpau/vdpau_h264.c
+++ b/src/video_dec/libvdpau/vdpau_h264.c
@@ -80,7 +80,6 @@ typedef struct vdpau_h264_decoder_s {
int decoder_started;
int progressive_cnt; /* count of progressive marked frames in line */
- VdpColorStandard color_standard;
VdpDecoderProfile profile;
vdpau_accel_t *vdpau_accel;
@@ -834,7 +833,6 @@ static void vdpau_h264_reset (video_decoder_t *this_gen) {
free_parser(this->nal_parser);
this->nal_parser = init_parser(this->xine);
- this->color_standard = VDP_COLOR_STANDARD_ITUR_BT_601;
this->video_step = 0;
if(this->codec_private_len > 0) {
@@ -943,7 +941,6 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre
this->decoder = VDP_INVALID_HANDLE;
this->vdp_runtime_nr = runtime_nr;
- this->color_standard = VDP_COLOR_STANDARD_ITUR_BT_601;
this->progressive_cnt = 0;
this->reset = VO_NEW_SEQUENCE_FLAG;
diff --git a/src/video_dec/libvdpau/vdpau_mpeg4.c b/src/video_dec/libvdpau/vdpau_mpeg4.c
index 6748fb6b6..d4325d490 100644
--- a/src/video_dec/libvdpau/vdpau_mpeg4.c
+++ b/src/video_dec/libvdpau/vdpau_mpeg4.c
@@ -178,8 +178,6 @@ typedef struct {
vdpau_accel_t *accel_vdpau;
- VdpColorStandard color_standard;
-
bits_reader_t br;
int vdp_runtime_nr;
@@ -282,7 +280,6 @@ static void reset_sequence( sequence_t *sequence, int free_refs )
sequence->backward_ref = NULL;
sequence->top_field_first = 0;
sequence->reset = VO_NEW_SEQUENCE_FLAG;
- sequence->color_standard = VDP_COLOR_STANDARD_ITUR_BT_709;
sequence->last_time_base = 0;
sequence->time_base = 0;
@@ -949,7 +946,6 @@ static void decode_picture( vdpau_mpeg4_decoder_t *vd )
img->bad_frame = 0;
if ( seq->video_step > 900 ) /* some buggy streams */
img->duration = seq->video_step;
- accel->color_standard = seq->color_standard;
if ( pic->vdp_infos.vop_coding_type < B_FRAME ) {
if ( pic->vdp_infos.vop_coding_type == I_FRAME && !seq->backward_ref ) {
diff --git a/src/video_dec/libvdpau/vdpau_vc1.c b/src/video_dec/libvdpau/vdpau_vc1.c
index 525f2185b..5c668829a 100644
--- a/src/video_dec/libvdpau/vdpau_vc1.c
+++ b/src/video_dec/libvdpau/vdpau_vc1.c
@@ -871,7 +871,6 @@ static void decode_picture( vdpau_vc1_decoder_t *vd )
img->pts = seq->seq_pts;
img->bad_frame = 0;
img->duration = seq->video_step;
- accel->color_standard = VDP_COLOR_STANDARD_ITUR_BT_709;
if ( pic->vdp_infos.picture_type<B_FRAME ) {
if ( pic->vdp_infos.picture_type==I_FRAME && !seq->backward_ref ) {