[Bug 712592] New: d3dhelpers.c(2221): d3d_class_init: Failed to register window class: 1410 on second creation of a simple pipeline
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Nov 18 05:44:31 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=712592
GStreamer | gstreamer (core) | 1.2.1
Summary: d3dhelpers.c(2221): d3d_class_init: Failed to register
window class: 1410 on second creation of a simple
pipeline
Classification: Platform
Product: GStreamer
Version: 1.2.1
OS/Version: Windows
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: panzerschlacht at hotmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Here is another one with the same problem (has full example):
http://stackoverflow.com/questions/19478692/gstreamer-video-playback-fails-in-windows-at-second-play-time-when-the-video-fi
The way I do it is basically:
GstElement* pipeline;
gst_init(NULL, NULL);
pipeline = gst_element_factory_make("playbin", "player");
GstElement *sink = gst_element_factory_make ("d3dvideosink","video-sink");
g_object_set(GST_OBJECT(pipeline),"video-sink",sink,NULL);
g_object_set(GST_OBJECT(pipeline),
"uri",g_filename_to_uri(fileName.c_str(),
NULL, NULL), NULL);
g_object_set(GST_OBJECT(sink), "force-aspect-ratio", TRUE, NULL);
gst_object_unref(sink);
and deallocating with:
gst_element_set_state (pipeline, GST_STATE_NULL);
gst_object_unref (GST_OBJECT (pipeline));
I made sure the refcount is 0 there so there's no memory leak. The next time I
go through the same procedure I get the error.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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