summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/decode.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-02-10 12:34:22 +0100
committerChristian König <[email protected]>2012-02-21 11:13:11 +0100
commit736dda82ca5477b8976e2c6b810a71efe2337267 (patch)
tree9c4b6b3c774bab115be90a2a16cbc15b890dad64 /src/gallium/state_trackers/vdpau/decode.c
parenta206c4cd69a881bf3f8d960607d604b6d53e3a26 (diff)
st/vdpau: remove unnecessary tracing and adjust tracing levels a bit
Tracing function entry/exits is a bit pointless when VDPAU_TRACE=1 does the same thing. v2: use WARN instead of ERR for application problems Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/decode.c')
-rw-r--r--src/gallium/state_trackers/vdpau/decode.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c
index de9835f5847..c45abb81799 100644
--- a/src/gallium/state_trackers/vdpau/decode.c
+++ b/src/gallium/state_trackers/vdpau/decode.c
@@ -50,8 +50,6 @@ vlVdpDecoderCreate(VdpDevice device,
VdpStatus ret;
bool supported;
- VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Creating decoder\n");
-
if (!decoder)
return VDP_STATUS_INVALID_POINTER;
*decoder = 0;
@@ -104,8 +102,6 @@ vlVdpDecoderCreate(VdpDevice device,
goto error_handle;
}
- VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Decoder created succesfully\n");
-
return VDP_STATUS_OK;
error_handle:
@@ -125,8 +121,6 @@ vlVdpDecoderDestroy(VdpDecoder decoder)
{
vlVdpDecoder *vldecoder;
- VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Destroying decoder\n");
-
vldecoder = (vlVdpDecoder *)vlGetDataHTAB(decoder);
if (!vldecoder)
return VDP_STATUS_INVALID_HANDLE;
@@ -149,8 +143,6 @@ vlVdpDecoderGetParameters(VdpDecoder decoder,
{
vlVdpDecoder *vldecoder;
- VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Decoder get parameters called\n");
-
vldecoder = (vlVdpDecoder *)vlGetDataHTAB(decoder);
if (!vldecoder)
return VDP_STATUS_INVALID_HANDLE;
@@ -403,8 +395,6 @@ vlVdpDecoderRender(VdpDecoder decoder,
struct pipe_h264_picture_desc h264;
} desc;
- VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Decoding\n");
-
if (!(picture_info && bitstream_buffers))
return VDP_STATUS_INVALID_POINTER;