summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-23 20:51:02 +0100
committerJohns <johns98@gmx.net>2011-12-23 20:51:02 +0100
commit58800f57f66207f2fd17ef841b1ebe6bb18dc5bb (patch)
treecbc94de85e280cd1f0779d34cd635011cb31b546
parentd574fbe8b3d4c4eec9675bd718af8a5c0e7b8986 (diff)
downloadvdr-plugin-softhddevice-58800f57f66207f2fd17ef841b1ebe6bb18dc5bb.tar.gz
vdr-plugin-softhddevice-58800f57f66207f2fd17ef841b1ebe6bb18dc5bb.tar.bz2
Wrong decoder->SurfaceField again.
-rw-r--r--video.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/video.c b/video.c
index 33b0b8a..5fc920c 100644
--- a/video.c
+++ b/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);