After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 320920 - [osssink] tries to reuse a bad file descriptor
[osssink] tries to reuse a bad file descriptor
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.9.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-07 22:38 UTC by Alessandro Decina
Modified: 2005-11-08 08:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
easy fix (503 bytes, patch)
2005-11-07 22:39 UTC, Alessandro Decina
committed Details | Review

Description Alessandro Decina 2005-11-07 22:38:46 UTC
in gst_oss_sink_close the file descriptor should be reset to -1 after closing it.
This fixes this error:

** (switch.py:5248): CRITICAL **: Your OSS device could not be probed correctly

if osssink goes to PLAYING, then NULL and then PLAYING again.
Comment 1 Alessandro Decina 2005-11-07 22:39:13 UTC
Created attachment 54441 [details] [review]
easy fix
Comment 2 Tim-Philipp Müller 2005-11-08 08:55:14 UTC
Applied, thanks!

2005-11-08  Alessandro Decina  <alessandro at nnva dot org>

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

Cheers
 -Tim