X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fomf%2Fnitos_omf6_vlc.py;h=c6c2600d41e3174105262bde3dfda8a07a3629d5;hb=58a2b493f8df1072a1faa653c8abb6a3f9ba21fa;hp=eb615fe30d42ed0592cdc4be53737e5bdd977186;hpb=039fbd9629d7570d4c175a5448d24badcd0f3aba;p=nepi.git diff --git a/examples/omf/nitos_omf6_vlc.py b/examples/omf/nitos_omf6_vlc.py index eb615fe3..c6c2600d 100644 --- a/examples/omf/nitos_omf6_vlc.py +++ b/examples/omf/nitos_omf6_vlc.py @@ -163,9 +163,8 @@ print("BYTES transmitted", byte_count) ## If you redirected the video to standard output, you can try to ## retrieve the stdout of the VLC client ## video = ec.trace(app2, "stdout") -#f = open("video.ts", "w") -#f.write(video) -#f.close() +#with open("video.ts", "w") as f: +# f.write(video) # Stop Experiment ec.shutdown()