summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Thommeret <hftom@free.fr>2009-08-06 13:12:53 +0100
committerChristophe Thommeret <hftom@free.fr>2009-08-06 13:12:53 +0100
commita645069fe04f733217992fd59a9c1fb4e561500d (patch)
tree0d16ad06439432cbad34ddd7b0cbabe1cdea8887
parentd109d20c07176bee7ab2069972d8552f74fdbf5b (diff)
downloadxine-lib-a645069fe04f733217992fd59a9c1fb4e561500d.tar.gz
xine-lib-a645069fe04f733217992fd59a9c1fb4e561500d.tar.bz2
Better deinterlacer logging.
-rw-r--r--src/video_out/video_out_vdpau.c30
1 files changed, 26 insertions, 4 deletions
diff --git a/src/video_out/video_out_vdpau.c b/src/video_out/video_out_vdpau.c
index 01ddc83d9..883f6c6c0 100644
--- a/src/video_out/video_out_vdpau.c
+++ b/src/video_out/video_out_vdpau.c
@@ -1159,22 +1159,44 @@ static void vdpau_set_deinterlace( vo_driver_t *this_gen )
if ( this->deinterlace ) {
if ( this->video_mixer_width<800 ) {
feature_enables[0] = feature_enables[1] = 1;
+ if ( this->temporal_is_supported ) {
+ if ( this->temporal_spatial_is_supported )
+ printf("vo_vdpau: deinterlace: temporal_spatial\n" );
+ else
+ printf("vo_vdpau: deinterlace: temporal\n" );
+ }
+ else
+ printf("vo_vdpau: deinterlace: bob\n" );
}
else {
switch ( this->deinterlacers_method[this->deinterlace_method] ) {
case DEINT_BOB:
- feature_enables[0] = feature_enables[1] = 0; break; /* bob */
+ feature_enables[0] = feature_enables[1] = 0;
+ printf("vo_vdpau: deinterlace: bob\n" );
+ break;
case DEINT_HALF_TEMPORAL:
+ feature_enables[0] = 1; feature_enables[1] = 0;
+ printf("vo_vdpau: deinterlace: half_temporal\n" );
+ break;
case DEINT_TEMPORAL:
- feature_enables[0] = 1; feature_enables[1] = 0; break; /* temporal */
+ feature_enables[0] = 1; feature_enables[1] = 0;
+ printf("vo_vdpau: deinterlace: temporal\n" );
+ break;
case DEINT_HALF_TEMPORAL_SPATIAL:
+ feature_enables[0] = feature_enables[1] = 1;
+ printf("vo_vdpau: deinterlace: half_temporal_spatial\n" );
+ break;
case DEINT_TEMPORAL_SPATIAL:
- feature_enables[0] = feature_enables[1] = 1; break; /* temporal_spatial */
+ feature_enables[0] = feature_enables[1] = 1;
+ printf("vo_vdpau: deinterlace: temporal_spatial\n" );
+ break;
}
}
}
- else
+ else {
feature_enables[0] = feature_enables[1] = 0;
+ printf("vo_vdpau: deinterlace: none\n" );
+ }
vdp_video_mixer_set_feature_enables( this->video_mixer, features_count, features, feature_enables );
}