In ffplay, do not open display if -nodisp is set.
Fixes issue 1017. Originally committed as revision 26371 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f9329946d0
commit
112c4b8796
2
ffplay.c
2
ffplay.c
@ -1242,6 +1242,7 @@ retry:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* display picture */
|
/* display picture */
|
||||||
|
if (!display_disable)
|
||||||
video_display(is);
|
video_display(is);
|
||||||
|
|
||||||
/* update queue size and signal for next picture */
|
/* update queue size and signal for next picture */
|
||||||
@ -1260,6 +1261,7 @@ retry:
|
|||||||
than nothing, just to test the implementation */
|
than nothing, just to test the implementation */
|
||||||
|
|
||||||
/* display picture */
|
/* display picture */
|
||||||
|
if (!display_disable)
|
||||||
video_display(is);
|
video_display(is);
|
||||||
}
|
}
|
||||||
if (show_status) {
|
if (show_status) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user