GNOME Bugzilla – Bug 457337
Better error reporting in the browser plugin
Last modified: 2008-02-07 17:23:32 UTC
Please describe the problem: When trying to watch a BBC news stream, their site sent me to <http://news.bbc.co.uk/player/nol/newsid_6900000/newsid_6900200/6900209.stm?bw=bb&mp=wm&news=1>. The plugin loads, but never actually plays the video feed. Pressing the Play button makes the plugin try to play the feed, but it only tries for about a second and then goes back to the paused state. Since I happened to have epiphany open in GDB at the time I tried this, I noticed a lot of debug text sent to the console. It would be nice if errors like this could be trapped and displayed by the plugin, in the video playback error. In this case, the message from gstreamer would do: "Internal data flow error". Similar to how the RealPlayer stub movies that only display the movie controls are already handled (they are rendered as a blank area with the message 'Not yet supported' in the middle). Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: Here's the debug output: (totem-plugin-viewer:8880): GStreamer-CRITICAL **: gst_pad_link_prepare: assertion `GST_IS_PAD (srcpad)' failed ** Message: Viewer state: PLAYING ** Message: don't know how to handle application/x-rtp, media=(string)application, payload=(int)96, clock-rate=(int)1000, encoding-name=(string)X-ASF-PF, config=(string)MCaydY5mzxGm2QCqAGLObLQKAAAAAAAACAAAAAECMyaydY5mzxGm2QCqAGLObCQAAAAAAAAAAgAAAAAAAAAAAAAAodyrjEepzxGO5ADADCBTZWgAAAAAAAAAnKq6D010rUWwEX7paGObMNzKJgAAAAAAwMsqW57HxwGIBgAAAAAAAMDKiTYAAAAA4KrLNQAAAAC4CwAAAAAAAAIAAADuBQAA7gUAAICbAwC1A79fLqnPEY7jAMAMIFNlawcAAAAAAAAR0tOruqnPEY7mAMAMIFNlBgA9BwAAqUZDfODv/EuyKTk+3kFchScAAAAAAAAAAQAMZQBuAC0AZwBiAAAAXYvxJoRF7EefXw5lHwRSyRoAAAAAAAAAAgHqy/jFr1t3SIRnqoxE+kzKYgEAAAAAAAAGAAAAAQAMAAIAAgAAAEkAcwBWAEIAUgAAAAAAAAABADQAAAAMAAAARABlAHYAaQBjAGUAQwBvAG4AZgBvAHIAbQBhAG4AYwBlAFQAZ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ptkAqgBizmyiuiYAAAAAAJyqug9NdK1FsBF+6WhjmzCIBgAAAAAAAAEB, maxps=(string)1518, clock-base=(guint)0, seqnum-base=(guint)34399, npt-start=(guint64)0, npt-stop=(guint64)91500000000, play-speed=(double)1, play-scale=(double)1 ** Message: Error: Internal data flow error. gstbasesrc.c(1811): gst_base_src_loop (): /play/source/udpsrc8: streaming task paused, reason not-linked (-1) ** Message: Viewer state: STOPPED ** Message: totem_embedded_set_error: 'An error occurred', 'Internal data flow error.'
This is atleast related to bug #359840.
*** Bug 414983 has been marked as a duplicate of this bug. ***
We have errors in the plugin viewer now. When an error occurs, the logo will be set appropriately, and clicking on the logo will popup the dialogue. 2008-02-07 Bastien Nocera <hadess@hadess.net> * browser-plugin/totem-plugin-viewer.c: (totem_embedded_set_error), (totem_embedded_open_internal), (on_video_button_press_event), (on_error_event), (totem_embedded_push_parser): Remember the errors, and once we've set the error, allow errors to popup when the main window is clicked (Closes: #457337) * browser-plugin/totemPlugin.cpp: Fix the plugin not appearing when the width or height isn't set