summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-04-15 18:17:54 +0200
committerJan Schmidt <thaytan@noraisin.net>2009-06-20 15:21:29 +0100
commitee591b9f3d01865389a7a5dc4b8381466d0096e0 (patch)
tree0710eaeeb809beec01e5b33613e98cb16aff6c08
parent638a35eaccf3115644d3581e3877111c8f8f255e (diff)
downloadgst-plugins-bad-ee591b9f3d01865389a7a5dc4b8381466d0096e0.tar.gz
gst-plugins-bad-ee591b9f3d01865389a7a5dc4b8381466d0096e0.tar.bz2
gst-plugins-bad-ee591b9f3d01865389a7a5dc4b8381466d0096e0.zip
vdpaumpegdec: correct some default values
mpeg1 now give nearly correct output :)
-rw-r--r--sys/vdpau/gstvdpmpegdecoder.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/vdpau/gstvdpmpegdecoder.c b/sys/vdpau/gstvdpmpegdecoder.c
index e1f9e56c..7aefe73c 100644
--- a/sys/vdpau/gstvdpmpegdecoder.c
+++ b/sys/vdpau/gstvdpmpegdecoder.c
@@ -418,11 +418,15 @@ gst_vdp_mpeg_decoder_init_info (VdpPictureInfoMPEG1Or2 * vdp_info)
vdp_info->forward_reference = VDP_INVALID_HANDLE;
vdp_info->backward_reference = VDP_INVALID_HANDLE;
vdp_info->slice_count = 0;
- vdp_info->picture_structure = 0;
+ vdp_info->picture_structure = 3;
vdp_info->picture_coding_type = 0;
vdp_info->intra_dc_precision = 0;
- vdp_info->frame_pred_frame_dct = 0;
+ vdp_info->frame_pred_frame_dct = 1;
vdp_info->concealment_motion_vectors = 0;
+ vdp_info->intra_vlc_format = 0;
+ vdp_info->alternate_scan = 0;
+ vdp_info->q_scale_type = 0;
+ vdp_info->top_field_first = 1;
}
static void