mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix bug: didn't compile without vdpau support.
This commit is contained in:
parent
73fe963c36
commit
142c3b16f6
8
video.c
8
video.c
@ -9350,10 +9350,10 @@ enum PixelFormat Video_get_format(VideoHwDecoder * hw_decoder,
|
|||||||
void VideoRenderFrame(VideoHwDecoder * hw_decoder,
|
void VideoRenderFrame(VideoHwDecoder * hw_decoder,
|
||||||
const AVCodecContext * video_ctx, const AVFrame * frame)
|
const AVCodecContext * video_ctx, const AVFrame * frame)
|
||||||
{
|
{
|
||||||
if (0) {
|
#if 0
|
||||||
fprintf(stderr, "video: render frame pts %s closing %d\n",
|
fprintf(stderr, "video: render frame pts %s closing %d\n",
|
||||||
Timestamp2String(frame->pkt_pts), hw_decoder->Vdpau.Closing);
|
Timestamp2String(frame->pkt_pts), hw_decoder->Vdpau.Closing);
|
||||||
}
|
#endif
|
||||||
if (frame->repeat_pict && !VideoIgnoreRepeatPict) {
|
if (frame->repeat_pict && !VideoIgnoreRepeatPict) {
|
||||||
Warning(_("video: repeated pict %d found, but not handled\n"),
|
Warning(_("video: repeated pict %d found, but not handled\n"),
|
||||||
frame->repeat_pict);
|
frame->repeat_pict);
|
||||||
|
Loading…
Reference in New Issue
Block a user