Commit a9c9d628 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

sys/oss/gstosssink.c: Don't re-use already closed file descriptor. (#320920)

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* sys/oss/gstosssink.c: (gst_oss_sink_close):
Don't re-use already closed file descriptor. (#320920)
parent ef3e55d3
2005-11-08 Alessandro Decina <alessandro at nnva dot org>
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
* sys/oss/gstosssink.c: (gst_oss_sink_close):
Don't re-use already closed file descriptor. (#320920)
2005-11-07 Tim-Philipp Müller <tim at centricular dot net> 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
* sys/oss/gstosssink.c: (gst_oss_sink_dispose), * sys/oss/gstosssink.c: (gst_oss_sink_dispose),
......
...@@ -372,6 +372,7 @@ static gboolean ...@@ -372,6 +372,7 @@ static gboolean
gst_oss_sink_close (GstAudioSink * asink) gst_oss_sink_close (GstAudioSink * asink)
{ {
close (GST_OSSSINK (asink)->fd); close (GST_OSSSINK (asink)->fd);
GST_OSSSINK (asink)->fd = -1;
return TRUE; return TRUE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment