[longomatch] Set the device ID the first property as workarround for dshowsrcwrapper
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Set the device ID the first property as workarround for dshowsrcwrapper
- Date: Fri, 30 Jul 2010 00:46:55 +0000 (UTC)
commit 5969a88367eadd0611327fa415b9879660d3bca1
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Jul 30 02:45:16 2010 +0200
Set the device ID the first property as workarround for dshowsrcwrapper
CesarPlayer/Gui/CapturerBin.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/CesarPlayer/Gui/CapturerBin.cs b/CesarPlayer/Gui/CapturerBin.cs
index 6544b62..5d1de8f 100644
--- a/CesarPlayer/Gui/CapturerBin.cs
+++ b/CesarPlayer/Gui/CapturerBin.cs
@@ -214,6 +214,7 @@ namespace LongoMatch.Gui
if (capturer == null)
return;
+ capturer.DeviceID = captureProps.DeviceID;
capturer.OutputFile = captureProps.OutputFile;
capturer.OutputHeight = captureProps.Height;
capturer.OutputWidth = captureProps.Width;
@@ -221,7 +222,6 @@ namespace LongoMatch.Gui
capturer.SetAudioEncoder(captureProps.AudioEncoder);
capturer.SetVideoMuxer(captureProps.Muxer);
capturer.SetSource(captureProps.CaptureSourceType);
- capturer.DeviceID = captureProps.DeviceID;
capturer.VideoBitrate = captureProps.VideoBitrate;
capturer.AudioBitrate = captureProps.AudioBitrate;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]