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 457337 - Better error reporting in the browser plugin
Better error reporting in the browser plugin
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Browser plugin (obsolete)
2.18.x
Other All
: Normal normal
: ---
Assigned To: totem-browser-maint
totem-browser-maint
: 414983 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-07-16 12:30 UTC by Sam Morris
Modified: 2008-02-07 17:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sam Morris 2007-07-16 12:30:22 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)MCaydY5mzxGm2QCqAGLObLQKAAAAAAAACAAAAAECMyaydY5mzxGm2QCqAGLObCQAAAAAAAAAAgAAAAAAAAAAAAAAodyrjEepzxGO5ADADCBTZWgAAAAAAAAAnKq6D010rUW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juYAwAwgU2WFAAAAAAAAAMDvGbxNW88RqP0AgF9cRCsAV/sgVVvPEaj9AIBfXEQrAAAAAAAAAAA3AAAAAAAAAAEAEGFJB6ABAADoAAAAAiwALAAAAKABAADoAAAAAQAYAFdNVjMAAAAAAAAAAAAAAAAAAAAAAAAAAEw5GgGRB9y3t6nPEY7mAMAMIFNlcgAAAAAAAABAnmn4TVvPEaj9AIBfXEQrUM3Dv49hzxGLsgCqALTiIAAAAAAAAAAAHAAAAAgAAAACAAAAAABhAQEARKwAAKMPAADPBRAACgAAiAAADwA9FwAAAc8FzwUBAADOdfh7jUbREY2CAGCXyaKyJgAAAAAAAAACAAEAARYDAAIAf4UAADYmsnWOZs8RptkAqgBizmyiuiYAAAAAAJyqug9NdK1FsBF+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.'
Comment 1 Sunil Mohan Adapa 2007-07-18 07:54:51 UTC
This is atleast related to bug #359840.
Comment 2 Bastien Nocera 2008-02-07 17:21:30 UTC
*** Bug 414983 has been marked as a duplicate of this bug. ***
Comment 3 Bastien Nocera 2008-02-07 17:23:32 UTC
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