summaryrefslogtreecommitdiffstats
path: root/multimedia/straw-viewer/restore_mplayer.diff
blob: 1c3f5f82851edef393f9741a247d956bcc956b6a (plain)
diff -Naur straw-viewer-0.1.0/bin/gtk-straw-viewer straw-viewer-0.1.0.patched/bin/gtk-straw-viewer
--- straw-viewer-0.1.0/bin/gtk-straw-viewer	2020-10-06 15:16:34.000000000 -0400
+++ straw-viewer-0.1.0.patched/bin/gtk-straw-viewer	2020-10-12 01:17:39.658582800 -0400
@@ -160,6 +160,13 @@
                               fs    => q{--fullscreen},
                               arg   => q{--really-quiet --title=*TITLE* --no-ytdl},
                              },
+                      mplayer => {
+                                  cmd   => q{mplayer},
+                                  srt   => q{-sub *SUB*},
+                                  audio => q{-audiofile *AUDIO*},
+                                  fs    => q{-fs},
+                                  arg   => q{-prefer-ipv4 -really-quiet -title *TITLE*},
+                                 },
                       smplayer => {
                                    cmd => q{smplayer},
                                    srt => q{-sub *SUB*},
diff -Naur straw-viewer-0.1.0/bin/straw-viewer straw-viewer-0.1.0.patched/bin/straw-viewer
--- straw-viewer-0.1.0/bin/straw-viewer	2020-10-06 15:16:34.000000000 -0400
+++ straw-viewer-0.1.0.patched/bin/straw-viewer	2020-10-12 01:18:57.794575697 -0400
@@ -153,11 +153,19 @@
                               arg     => q{--really-quiet --title=*TITLE* --no-ytdl},
                               novideo => q{--no-video},
                              },
+                      mplayer => {
+                                  cmd     => q{mplayer},
+                                  srt     => q{-sub *SUB*},
+                                  audio   => q{-audiofile *AUDIO*},
+                                  fs      => q{-fs},
+                                  arg     => q{-prefer-ipv4 -really-quiet -title *TITLE*},
+                                  novideo => q{-novideo},
+                                 },
                      },
 
     video_player_selected => (
         $constant{win32}
-        ? 'vlc'
+        ? 'mplayer'
         : undef    # auto-defined
     ),