diff options
author | Torsten Jager <t.jager@gmx.de> | 2014-05-20 18:05:20 +0200 |
---|---|---|
committer | Torsten Jager <t.jager@gmx.de> | 2014-05-20 18:05:20 +0200 |
commit | 24020b6f629bd76163646c252f9d0cf61650fd63 (patch) | |
tree | cbcd755aa7755f8b8ad759e54565be19a659e3a3 /src | |
parent | 491fa978290cd3d3b402db83fb5311f74a6bd010 (diff) | |
download | xine-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.c | 5 |
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, |