summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTorsten Jager <t.jager@gmx.de>2014-05-20 18:05:20 +0200
committerTorsten Jager <t.jager@gmx.de>2014-05-20 18:05:20 +0200
commit24020b6f629bd76163646c252f9d0cf61650fd63 (patch)
treecbcd755aa7755f8b8ad759e54565be19a659e3a3 /src
parent491fa978290cd3d3b402db83fb5311f74a6bd010 (diff)
downloadxine-lib-24020b6f629bd76163646c252f9d0cf61650fd63.tar.gz
xine-lib-24020b6f629bd76163646c252f9d0cf61650fd63.tar.bz2
ff_video_decoder: add DR1 reenable message.
This happens when multithreading, for example.
Diffstat (limited to 'src')
-rw-r--r--src/combined/ffmpeg/ff_video_decoder.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/combined/ffmpeg/ff_video_decoder.c b/src/combined/ffmpeg/ff_video_decoder.c
index 385360e34..e328cee32 100644
--- a/src/combined/ffmpeg/ff_video_decoder.c
+++ b/src/combined/ffmpeg/ff_video_decoder.c
@@ -455,7 +455,10 @@ static int get_buffer (AVCodecContext *context, AVFrame *av_frame)
}
}
- this->is_direct_rendering_disabled = 0;
+ if (this->is_direct_rendering_disabled) {
+ xprintf (this->stream->xine, XINE_VERBOSITY_LOG, _("ffmpeg_video_dec: direct rendering enabled\n"));
+ this->is_direct_rendering_disabled = 0;
+ }
img = this->stream->video_out->get_frame (this->stream->video_out,
buf_width,