mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Wrong decoder->SurfaceField again.
This commit is contained in:
parent
d574fbe8b3
commit
58800f57f6
5
video.c
5
video.c
@ -4335,7 +4335,7 @@ static void VdpauRenderFrame(VdpauDecoder * decoder,
|
||||
|
||||
decoder->Interlaced = interlaced;
|
||||
decoder->TopFieldFirst = frame->top_field_first;
|
||||
decoder->SurfaceField = 1;
|
||||
decoder->SurfaceField = 0;
|
||||
|
||||
}
|
||||
VdpauQueueSurface(decoder, surface, 0);
|
||||
@ -4348,6 +4348,8 @@ static void VdpauRenderFrame(VdpauDecoder * decoder,
|
||||
void const *data[3];
|
||||
uint32_t pitches[3];
|
||||
|
||||
// FIXME: aspect change not supported!
|
||||
|
||||
//
|
||||
// Check image, format, size
|
||||
//
|
||||
@ -4369,6 +4371,7 @@ static void VdpauRenderFrame(VdpauDecoder * decoder,
|
||||
|
||||
decoder->Interlaced = frame->interlaced_frame;
|
||||
decoder->TopFieldFirst = frame->top_field_first;
|
||||
decoder->SurfaceField = 0;
|
||||
// FIXME: I hope this didn't change in the middle of the stream
|
||||
|
||||
VdpauSetup(decoder, video_ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user