Skip to content

Commit

Permalink
added device_number for devices with same name
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar-Riaz committed Aug 27, 2018
1 parent e6fa3eb commit 3da1165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/net/bramp/ffmpeg/builder/FFmpegBuilderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ public void testPresets() {

@Test
public void testFFmpegInputBuilder(){
String cmd = "-y -v info -f x11grab -s 1280x720 -r 30/1 -draw_mouse 0 -thread_queue_size 4096 " +
"-i :0.0+0,0 -f alsa -thread_queue_size 4096 -i hw:0,1,0 -f flv -acodec aac rtmp://a.rtmp.youtube.com/live2/XXX" ;
String cmd = "-y -v info -f x11grab -s 1280x720 -r 30/1 -draw_mouse 0 -thread_queue_size 4096 -video_device_number 0 " +
"-i :0.0+0,0 -f alsa -thread_queue_size 4096 -video_device_number 0 -i hw:0,1,0 -f flv -acodec aac rtmp://a.rtmp.youtube.com/live2/XXX" ;
List<String> args =
new FFmpegBuilder()
.overrideOutputFiles(true)
Expand Down

0 comments on commit 3da1165

Please # to comment.