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 610471 - asx file doesn't play in totem
asx file doesn't play in totem
Status: RESOLVED FIXED
Product: totem-pl-parser
Classification: Core
Component: General
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: totem-pl-parser-maint
totem-pl-parser-maint
Depends on:
Blocks:
 
 
Reported: 2010-02-19 16:53 UTC by Jean-François Fortin Tam
Modified: 2010-04-07 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2010-02-19 16:53:11 UTC
http://jeff.ecchi.ca/public/gstreamer-codec-autodetection/5%20-%20does%20not%20work/Metal%20Gear%20Solid%202%20-%20E3.asx

Doesn't play back, with gst good/bad/ugly/ffmpeg installed, packages from the gstreamer PPA.
Comment 1 Edward Hervey 2010-02-20 08:17:18 UTC
Plays fine with "gst-launch-0.10 playbin2 uri=..." with git of everything.

With totem 2.28.5, I get the following backtrace when loading the url:

  • #0 read
    at ../sysdeps/unix/syscall-template.S line 82
  • #1 g_unix_input_stream_read
    from /usr/lib/libgio-2.0.so.0
  • #2 g_input_stream_read
    from /usr/lib/libgio-2.0.so.0
  • #3 run_sync_state_machine
    at gdaemonfileinputstream.c line 491
  • #4 g_daemon_file_input_stream_read
    at gdaemonfileinputstream.c line 835
  • #5 g_input_stream_read
    from /usr/lib/libgio-2.0.so.0
  • #6 g_file_load_contents
    from /usr/lib/libgio-2.0.so.0
  • #7 totem_pl_parser_add_asx
    at totem-pl-parser-wm.c line 386
  • #8 totem_pl_parser_parse_internal
    at totem-pl-parser.c line 1912
  • #9 totem_pl_parser_parse_with_base
    at totem-pl-parser.c line 2064
  • #10 totem_playlist_add_mrl
    at totem-playlist.c line 1768
  • #11 totem_action_open_files_list
    at totem-object.c line 2729
  • #12 totem_action_open_files
    at totem-object.c line 2661
  • #13 totem_open_location_response_cb
    at totem-object.c line 1524
  • #14 g_cclosure_marshal_VOID(int0_t)
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #16 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #21 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #24 gtk_real_button_released
    at gtkbutton.c line 1707
  • #25 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_type_class_meta_marshal
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #28 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #31 gtk_button_button_release
    at gtkbutton.c line 1599

Comment 2 Edward Hervey 2010-02-20 08:17:42 UTC
This should maybe be reassigned to totem.
Comment 3 Sebastian Dröge (slomo) 2010-02-20 10:06:33 UTC
Yes, definitely. Totem thinks it's a playlist, tries to parse it and explodes. In reality it's an ASF file. Thanks for debugging, Edward.
Comment 4 Bastien Nocera 2010-04-07 16:58:25 UTC
commit 12316e257478b6e144186427eb92b0c1ab2d1c42
Author: Bastien Nocera <hadess@hadess.net>
Date:   Wed Apr 7 17:55:07 2010 +0100

    Fix parsing of dual-types after sniffing
    
    After getting the data type of a playlist through the actual data,
    we should check again if it matches the parser we want to use,
    otherwise we'll end up trying to parse video files that were
    masquerading as dual-type playlists.
    
    Test file included
    
    https://bugzilla.gnome.org/show_bug.cgi?id=610471