After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649602 - System.Exception: Unknown type GstDateTime
System.Exception: Unknown type GstDateTime
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-sharp
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-06 20:42 UTC by Gabriel Burt
Modified: 2014-03-02 20:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gabriel Burt 2011-05-06 20:42:22 UTC
I'd moved my qtdemux element out of /usr/lib/gstreamer-0.10/ but left my aac dec, and got his message:

Exception in Gtk# callback delegate
  Note: Applications can use Gst.GLib.ExceptionManager.UnhandledException to handle the exception.
System.Exception: Unknown type GstDateTime
  at Gst.GLib.Value.ToBoxed () [0x00097] in /home/gabe/Projects/gstreamer-sharp/gstreamer-sharp/glib-sharp/Value.cs:486 
  at Gst.GLib.Value.get_Val () [0x00335] in /home/gabe/Projects/gstreamer-sharp/gstreamer-sharp/glib-sharp/Value.cs:529 
  at Gst.TagList.GetTag (System.String tag) [0x00030] in /home/gabe/Projects/gstreamer-sharp/gstreamer-sharp/generated/TagList.custom:114 
  at Banshee.GStreamerSharp.PlayerEngine.HandleTag (Gst.Pad pad, Gst.TagList tag_list) [0x00034] in /home/gabe/Projects/banshee/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs:259 
  at Banshee.GStreamerSharp.PlayerEngine.OnBusMessage (Gst.Bus bus, Gst.Message msg) [0x000a0] in /home/gabe/Projects/banshee/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs:125 
  at GstSharp.BusFuncWrapper.NativeCallback (IntPtr bus, IntPtr message, IntPtr data) [0x00000] in /home/gabe/Projects/gstreamer-sharp/gstreamer-sharp/generated/GstSharp.BusFuncNative.cs:55 
   at Gst.GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) in /home/gabe/Projects/gstreamer-sharp/gstreamer-sharp/glib-sharp/ExceptionManager.cs:line 58
   at GstSharp.BusFuncWrapper.NativeCallback(IntPtr bus, IntPtr message, IntPtr data) in /home/gabe/Projects/gstreamer-sharp/gstreamer-sharp/generated/GstSharp.BusFuncNative.cs:line 60
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()

With both elements in place, I get no error and it plays fine.
Comment 1 Gabriel Burt 2011-05-06 20:46:18 UTC
This is from getting tag 'datetime'.
Comment 2 Sebastian Dröge (slomo) 2011-05-09 07:13:32 UTC
Yes, we need bindings for GstDateTime
Comment 3 Sebastian Dröge (slomo) 2011-05-09 07:16:09 UTC
Do you want to create a patch for this? Should be possible to create automatically generated bindings for this
Comment 4 Sebastian Dröge (slomo) 2014-03-02 20:50:13 UTC
This is fixed by the new 1.0-based bindings.