summaryrefslogtreecommitdiff
path: root/multimedia/straw-viewer/restore_mplayer.diff
blob: 1c3f5f82851edef393f9741a247d956bcc956b6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
     ),