mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 13:50:09 +01:00
st/vdpau: add xine workaround
For reasons I don't understand xine tries to set the surface format by using a zero pitch. Signed-off-by: Christian König <deathsimple@vodafone.de>
This commit is contained in:
parent
7236f170e4
commit
2e5f3cdca5
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ vlVdpVideoSurfacePutBitsYCbCr(VdpVideoSurface surface,
|
|||
|
||||
for (i = 0; i < 3; ++i) {
|
||||
struct pipe_sampler_view *sv = sampler_views[i];
|
||||
if (!sv) continue;
|
||||
if (!sv || !source_pitches[i]) continue;
|
||||
|
||||
for (j = 0; j < sv->texture->depth0; ++j) {
|
||||
struct pipe_box dst_box = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue