summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-08-17 10:35:52 +0200
committerJohns <johns98@gmx.net>2012-08-17 10:35:52 +0200
commite9fbe6b54f17774701cd7f62cf4d778760d1a178 (patch)
treeb4bca7c247ea9e4b0ffbcc8be6c820d65690bb5e
parent5e93fb275674eaa147a0c3c4b7bf52134e175e2e (diff)
downloadvdr-plugin-softhddevice-e9fbe6b54f17774701cd7f62cf4d778760d1a178.tar.gz
vdr-plugin-softhddevice-e9fbe6b54f17774701cd7f62cf4d778760d1a178.tar.bz2
Need get_format for software decoder.
-rw-r--r--codec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/codec.c b/codec.c
index 5707d6c..38702b3 100644
--- a/codec.c
+++ b/codec.c
@@ -431,6 +431,7 @@ void CodecVideoOpen(VideoDecoder * decoder, const char *name, int codec_id)
decoder->VideoCtx->thread_count = 1;
decoder->VideoCtx->active_thread_type = 0;
} else {
+ decoder->VideoCtx->get_format = Codec_get_format;
decoder->VideoCtx->hwaccel_context =
VideoGetVaapiContext(decoder->HwDecoder);
}