[Bug 796690] New: A bug in PlaybackTutorial7.cs
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jun 27 02:43:00 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796690
Bug ID: 796690
Summary: A bug in PlaybackTutorial7.cs
Classification: Platform
Product: GStreamer
Version: 1.14.1
OS: Windows
Status: NEW
Severity: normal
Priority: Normal
Component: gst-sharp
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: tomislavtustonic at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 372841
--> https://bugzilla.gnome.org/attachment.cgi?id=372841&action=edit
a patch for PlaybackTutorial7
Hello
There is a bug in PlaybackTutorial7.cs
(https://github.com/GStreamer/gstreamer-sharp/blob/master/samples/PlaybackTutorial7.cs)
In the original tutorial the pipelines custom audio-sink is set before starting
playing, while in C# the custom sink is set after. The result is that equalizer
has no effect.
When I set the audio-sink before playing (see a patch), the equalizer works
fine, but when setting pipeline state to State.Null I get the following
exception:
Unhandled Exception: System.AccessViolationException: Attempted to read or
write protected memory. This is often an indication that other memory is
corrupt.
at Gst.Element.gst_element_set_state(IntPtr raw, Int32 state)
at Gst.Element.SetState(State state)
at GstreamerSharp.Playback.Main(String[] args) in
...\PlaybackTutorial7.cs:line 61
Should I open the new bug for this AccessViolationException ?
Cheers, Tom
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list