[Mesa-dev] [PATCH 2/2] st/vdpau: use dst surface size if clip width/height is zero

Christian König deathsimple at vodafone.de
Mon Feb 6 13:03:32 PST 2012


On 06.02.2012 15:10, Maarten Lankhorst wrote:
> Op 06-02-12 12:50, Christian König schreef:
>> Just another fix for gstreamer.
>>
>> Signed-off-by: Christian König<deathsimple at vodafone.de>
>> ---
>>   src/gallium/state_trackers/vdpau/presentation.c |    6 ++++--
>>   1 files changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/gallium/state_trackers/vdpau/presentation.c 
>> b/src/gallium/state_trackers/vdpau/presentation.c
>> index 0e086fc..ba1e7c8 100644
>> --- a/src/gallium/state_trackers/vdpau/presentation.c
>> +++ b/src/gallium/state_trackers/vdpau/presentation.c
>> @@ -215,6 +215,8 @@ 
>> vlVdpPresentationQueueDisplay(VdpPresentationQueue presentation_queue,
>>      struct pipe_surface *drawable_surface;
>>      struct pipe_video_rect src_rect, dst_clip;
>>
>> +   VDPAU_MSG(VDPAU_TRACE, "[VDPAU] PresentationQueueDisplay\n");
> What's the point to adding these messages, if you could get the same 
> by setting VDPAU_TRACE=1 ?
Not much, we added them initially because of a problem with the function 
tab. And I had the need to figure out when this function was called 
compared another function while searching for the gstreamer bug. After 
all I wasn't aware that it is so easy to activate VDPAUs own tracing 
facility.

I removed that line and pushed the patch, I will go over the code and 
remove every unneeded trace lines once I find time for it.

Thanks,
Christian.


More information about the mesa-dev mailing list