peview mode as argument
This commit is contained in:
parent
78b411364d
commit
d1b92f5574
@ -56,6 +56,10 @@ stdin_parser.add_argument(
|
||||
'-c', '--config', help='file path to ffplayout.conf'
|
||||
)
|
||||
|
||||
stdin_parser.add_argument(
|
||||
'-d', '--desktop', help='preview on desktop', action='store_true'
|
||||
)
|
||||
|
||||
stdin_parser.add_argument(
|
||||
'-f', '--folder', help='play folder content'
|
||||
)
|
||||
@ -1368,7 +1372,7 @@ def main():
|
||||
]
|
||||
|
||||
try:
|
||||
if _playout.preview:
|
||||
if _playout.preview or stdin_args.desktop:
|
||||
# preview playout to player
|
||||
encoder = Popen([
|
||||
'ffplay', '-hide_banner', '-nostats', '-i', 'pipe:0'
|
||||
|
Loading…
x
Reference in New Issue
Block a user