forked from duzy/gst-switch
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure input stream is closed on error - addresses issue #95
* Add a "virtual" close function to the gstworker class, call this when error is handled * Add a "virtual" close function to the gsocketinputstream class, which ensures that the socket is closed rather than relying on unref at finalize * Add video caps to inputsrc pipeline so that video format errors are detected and handled directly * Add a kludge to redirect warnings that are actually errors to the correct handler
- Loading branch information
Showing
4 changed files
with
72 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters