slomo gst-plugins-good: gst-plugins-good/ gst-plugins-good/sys/sunaudio/

[email protected] Sun, 7 Dec 2008 11:23:02 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-plugins-good
Changes by:     slomo
Date:           Sun Dec 07 2008  19:23:02 UTC

Log message:
Patch by: Brian Cameron <brian.cameron at sun dot com>
* sys/sunaudio/gstsunaudiomixerctrl.c:
(gst_sunaudiomixer_ctrl_open):
Set the mixer fd before calling ioctl() on it. Fixes bug #563414.

Modified files:
    .               : ChangeLog
    sys/sunaudio    : gstsunaudiomixerctrl.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.3848&r2=1.3849
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/sys/sunaudio/gstsunaudiomixerctrl.c.diff?r1=1.13&r2=1.14

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v
retrieving revision 1.3848
retrieving revision 1.3849
diff -u -d -r1.3848 -r1.3849
--- ChangeLog	7 Dec 2008 19:01:33 -0000	1.3848
+++ ChangeLog	7 Dec 2008 19:22:47 -0000	1.3849
@@ -1,5 +1,13 @@
 2008-12-07  Sebastian Dröge  <[email protected]>
 
+	Patch by: Brian Cameron <brian.cameron at sun dot com>
+
+	* sys/sunaudio/gstsunaudiomixerctrl.c:
+	(gst_sunaudiomixer_ctrl_open):
+	Set the mixer fd before calling ioctl() on it. Fixes bug #563414.
+2008-12-07  Sebastian Dröge  <[email protected]>
 	Patch by: Alexandre Rostovtsev <tetromino at gmail dot com>
 	* configure.ac:
Index: gstsunaudiomixerctrl.c
RCS file: /cvs/gstreamer/gst-plugins-good/sys/sunaudio/gstsunaudiomixerctrl.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- gstsunaudiomixerctrl.c	10 Jun 2008 06:52:44 -0000	1.13
+++ gstsunaudiomixerctrl.c	7 Dec 2008 19:22:48 -0000	1.14
@@ -62,10 +62,11 @@
     return FALSE;
   }
+  mixer->mixer_fd = fd;
   /* Try to set the multiple open flag if we can, but ignore errors */
   ioctl (mixer->mixer_fd, AUDIO_MIXER_MULTIPLE_OPEN);
-  mixer->mixer_fd = fd;
   return TRUE;
 }

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose