summaryrefslogtreecommitdiff
path: root/sys/oss
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-08-22 16:45:37 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-08-22 16:45:37 +0000
commit0f38451f208637683b47694f74bf09da10d26a3a (patch)
treefb974d5fb55dfa7e497dc088bca5cb6a954c0e3e /sys/oss
parent1eff78685b38ebf0c0b589535066da428a708feb (diff)
Small documentation updates.
Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps), (gst_rtspsrc_send), (gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause): * gst/rtsp/gstrtspsrc.h: * sys/oss/gstosssink.c: (gst_oss_sink_open), (gst_oss_sink_prepare), (gst_oss_sink_unprepare): Small documentation updates.
Diffstat (limited to 'sys/oss')
-rw-r--r--sys/oss/gstosssink.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c
index 9f2902a0..7e1e32bb 100644
--- a/sys/oss/gstosssink.c
+++ b/sys/oss/gstosssink.c
@@ -396,12 +396,12 @@ gst_oss_sink_open (GstAudioSink * asink)
return TRUE;
+ /* ERRORS */
busy:
{
GST_ELEMENT_ERROR (oss, RESOURCE, BUSY, (NULL), (NULL));
return FALSE;
}
-
open_failed:
{
GST_ELEMENT_ERROR (oss, RESOURCE, OPEN_WRITE, (NULL), GST_ERROR_SYSTEM);
@@ -465,6 +465,7 @@ gst_oss_sink_prepare (GstAudioSink * asink, GstRingBufferSpec * spec)
return TRUE;
+ /* ERRORS */
non_block:
{
GST_ELEMENT_ERROR (oss, RESOURCE, SETTINGS, (NULL),
@@ -499,6 +500,7 @@ gst_oss_sink_unprepare (GstAudioSink * asink)
return TRUE;
+ /* ERRORS */
couldnt_close:
{
GST_DEBUG_OBJECT (asink, "Could not close the audio device");