[gstreamer-bugs] [Bug 621071] New: [playbin2] no playback with fakesink instead of appsink as text-sink
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Jun 9 02:27:42 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=621071
GStreamer | gst-plugins-base | 0.10.29
Summary: [playbin2] no playback with fakesink instead of
appsink as text-sink
Classification: Desktop
Product: GStreamer
Version: 0.10.29
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: andreas.frisch at multimedia-labs.de
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
when changing in the playbin-text icle the lins
/* set appsink to get the subtitles */
app->textsink = gst_element_factory_make ("appsink", "subtitle_sink");
g_object_set (G_OBJECT (app->textsink), "emit-signals", TRUE, NULL);
g_object_set (G_OBJECT (app->textsink), "ts-offset", 0 * GST_SECOND, NULL);
g_signal_connect (app->textsink, "new-buffer", G_CALLBACK (have_subtitle),
app);
g_object_set (G_OBJECT (app->playbin), "flags", 0x45, NULL);
g_object_set (G_OBJECT (app->playbin), "text-sink", app->textsink, NULL);
g_object_set (G_OBJECT (app->textsink), "caps",
gst_caps_from_string("text/x-pango-markup; text/plain; text/x-plain"), NULL);
to instead be:
app->textsink = gst_element_factory_make ("fakesink", "subtitle_sink");
g_object_set (G_OBJECT (app->textsink), "sync", TRUE, NULL);
g_object_set (G_OBJECT (app->textsink), "dump", TRUE, NULL);
g_object_set (G_OBJECT (app->playbin), "text-sink", app->textsink, NULL);
then i get <videosink> warning: Failed to find a usable video sink
logiles (6 mb) and example mkv file available upon request
--
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