Skip to content

Commit

Permalink
vlc 2.2 version use by default the wrong video output
Browse files Browse the repository at this point in the history
  • Loading branch information
ipa-cob4-5 committed Aug 3, 2016
1 parent 0fcbacb commit e2cf9dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cob_mimic/src/mimic_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def set_mimic(self, mimic, speed, repeat):

for i in range(0, repeat):
rospy.loginfo("Repeat: %s, Mimic: %s", repeat, mimic)
command = "export DISPLAY=:0 && vlc --video-wallpaper --video-filter 'rotate{angle=0}' --one-instance --playlist-enqueue --no-video-title-show --rate %f %s vlc://quit" % (speed, file_location)
command = "export DISPLAY=:0 && vlc --video-wallpaper --video-filter 'rotate{angle=0}' --vout glx --one-instance --playlist-enqueue --no-video-title-show --rate %f %s vlc://quit" % (speed, file_location)
os.system(command)

return True
Expand All @@ -103,7 +103,7 @@ def defaultMimic(self):
return

while not rospy.is_shutdown():
command = "export DISPLAY=:0 && vlc --video-wallpaper --video-filter 'rotate{angle=0}' --loop --one-instance --playlist-enqueue --no-video-title-show --rate %f %s vlc://quit" % (self.default_speed, file_location)
command = "export DISPLAY=:0 && vlc --video-wallpaper --video-filter 'rotate{angle=0}' --vout glx --loop --one-instance --playlist-enqueue --no-video-title-show --rate %f %s vlc://quit" % (self.default_speed, file_location)
os.system(command)

def main(self):
Expand Down

0 comments on commit e2cf9dc

Please sign in to comment.