1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

set audio=False by default

since gstplayer has argument --audio to enable audio support but no
way to disable it, audio=False might a better choise.

If we left audio=True and incoming stream has video only, the whole
pipeline will be blocked and wait for audio stream.
This commit is contained in:
Derek Dai 2016-10-12 11:24:17 +08:00
parent 2a3796cfe9
commit 9cd56f3eff
No known key found for this signature in database
GPG key ID: E109CC97553EF009

View file

@ -219,7 +219,7 @@ if __name__ == '__main__':
# " default VESA %08X\n"
# " default HH %08X\n"
parser.add_argument("-r", "--resolution", help="Resolution")
parser.set_defaults(audio=True)
parser.set_defaults(audio=False)
args = parser.parse_args()
p = Player(**vars(args))