~ubuntu-branches/ubuntu/lucid/totem/lucid

« back to all changes in this revision

Viewing changes to src/totem-uri.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-12-02 21:56:06 UTC
  • mfrom: (1.11.1 upstream) (2.2.11 sid)
  • Revision ID: james.westby@ubuntu.com-20091202215606-6uum8ai032ebaa9p
Tags: 2.28.4-0ubuntu1
* New upstream version:
  Movie Player:
  - Don't hide the fullscreen popups when the mouse is on top of them
  Thumbnailer:
  - Fix covers not being used any more
  Web browser plugin:
  - Fix potential crasher when using Javascript bindings
  - Fix resolution of absolute URL
* Sync on Debian
* debian/control.in:
  - build-depends on liblaunchpad-integration-dev
  - set vcs url
  - add XB-Npp-Description and XB-Npp-Filename header to the 
    totem-mozilla package to improve ubufox/ubuntu plugin db integration 
  - change refences from Iceweasel to Firefox
  - don't build using libepc, galago those are in universe
  - split totem-plugins package in an extra package for the components 
    which have depends in universe
  - use suggests rather than recommends for universe gstreamer components
* debian/patches/02_lpi.patch,
  debian/patches/90_autotools.patch: 
  - launchpad integration change
* debian/patches/07_disable_web_browser_midi.patch:
  - Disable MIDI support in totem web browser plugin as Karmic's gstreamer
    doesn't support streaming MIDI files over HTTP (LP 463102)
* debian/patches/70_bbc_plugin.patch: 
  - removed Debian APT changes. Made strings translatable.
* debian/rules:
  - don't build complex
* debian/source_totem.py, debian/totem-common.install:
  - use an apport hook to get details on the issue and try to use the right 
    component especially for codec and sound issues
* debian/totem-common.gconf-defaults: 
  - Activate content retrieval plugins (BBC and YouTube) by default      
* debian/totem-plugins-extra.install:
  - install things which have depends in universe in an extra binary

Show diffs side-by-side

added added

removed removed

Lines of Context:
683
683
totem_save_position (Totem *totem)
684
684
{
685
685
        gint64 stream_length, position;
686
 
        char *mrl, *pos_str;
 
686
        char *pos_str;
687
687
        GFile *file;
688
688
        GError *error = NULL;
689
689
 
690
690
        if (totem->remember_position == FALSE)
691
691
                return;
 
692
        if (totem->mrl == NULL)
 
693
                return;
692
694
 
693
695
        stream_length = bacon_video_widget_get_stream_length (totem->bvw);
694
696
        position = bacon_video_widget_get_current_time (totem->bvw);
695
 
        mrl = totem_get_current_mrl (totem);
696
 
 
697
 
        if (mrl == NULL)
698
 
                return;
699
 
 
700
 
        file = g_file_new_for_uri (mrl);
701
 
        g_free (mrl);
 
697
 
 
698
        file = g_file_new_for_uri (totem->mrl);
702
699
 
703
700
        /* Don't save if it's:
704
701
         *  - a live stream