[Bug 673481] "Resource not found" error when setting png-source

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 4 02:55:46 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=673481
  GStreamer | gst-plugins | 0.10.x

--- Comment #2 from Francesco Bruni <brunifrancesco02 at gmail.com> 2012-04-04 09:55:41 UTC ---
I coded:

in the "__init__" I set my pipeline (that works correcly testing it on shell);
then I call a function to start to play my video. 
In this last function I use another one to set the image which have to be
overlayed on screen. 
It hase to change dynamically, so I have to, each time I need, create an image
and overlay it. 

So I coded:

def __init__(self):
  self.png_source = gst.element_factory_make("filesrc", "png-source")

def start(self,w):
  ...
  show()
  ...

def show(self)
  ... #here I use another function to create the image
  ...
  self.png_source.set_property("location",self.filepath_image)
  self.timeout_source = glib.timeout_add(self.sleep_time, self.show)

I hope to have been clear enough.

-- 
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