diff options
author | Thomas Balling Sørensen <tball@tball-laptop.(none)> | 2010-10-08 13:59:31 +0200 |
---|---|---|
committer | Thomas Balling Sørensen <tball@tball-laptop.(none)> | 2010-10-08 13:59:31 +0200 |
commit | 7d2bdc2d4db8321a72edcc921a0fcfa4e4d41ef9 (patch) | |
tree | dcc405ace707c0793d87e411db12030933bece59 /src/gallium/state_trackers/vdpau/surface.c | |
parent | bff1ac875c2c62ba5045bb953f800253c49361cb (diff) |
vl: bitstream decoder finds startcodes
Diffstat (limited to 'src/gallium/state_trackers/vdpau/surface.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/surface.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surface.c index f957d94bdf7..9b6dac9c3f4 100644 --- a/src/gallium/state_trackers/vdpau/surface.c +++ b/src/gallium/state_trackers/vdpau/surface.c @@ -30,7 +30,6 @@ #include <pipe/p_state.h> #include <util/u_memory.h> #include <util/u_format.h> -#include <stdio.h> VdpStatus vlVdpVideoSurfaceCreate(VdpDevice device, @@ -68,8 +67,10 @@ vlVdpVideoSurfaceCreate(VdpDevice device, goto inv_device; } - p_surf->chroma_format = FormatToPipe(chroma_type); + p_surf->chroma_format = TypeToPipe(chroma_type); p_surf->device = dev; + p_surf->width = width; + p_surf->height = height; *surface = vlAddDataHTAB(p_surf); if (*surface == 0) { |