Giter Club home page Giter Club logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
I'v debugged a little and got this control flow:


gnome-mplayer-1.0.9/src/support.c: add_item_to_playlist()
{
    (uri == "file:///tmp/qwe%23qwe.webm")
    local_uri = g_uri_unescape_string(uri, NULL);
    (local_uri == "file:///tmp/qwe#qwe.webm")
    gtk_list_store_set(playliststore, &localiter, ITEM_COLUMN, local_uri,
                       DESCRIPTION_COLUMN, data->title,
                       COUNT_COLUMN, 0,
                       PLAYLIST_COLUMN, playlist,
                       ARTIST_COLUMN, data->artist,
                       ALBUM_COLUMN, data->album,
                       SUBTITLE_COLUMN, data->subtitle,
                       AUDIO_CODEC_COLUMN, data->audio_codec,
                       VIDEO_CODEC_COLUMN, data->video_codec,
                       LENGTH_COLUMN, data->length,
                       DEMUXER_COLUMN, data->demuxer,
                       LENGTH_VALUE_COLUMN, data->length_value,
                       VIDEO_WIDTH_COLUMN, data->width, VIDEO_HEIGHT_COLUMN, data->height,
                       PLAY_ORDER_COLUMN,
                       gtk_tree_model_iter_n_children(GTK_TREE_MODEL(playliststore), NULL),
                       ADD_ORDER_COLUMN,
                       gtk_tree_model_iter_n_children(GTK_TREE_MODEL(playliststore), NULL),
                       PLAYABLE_COLUMN, TRUE, -1);
}

gnome-mplayer-1.0.9/src/main.c: play_iter()
{
    gtk_tree_model_get(GTK_TREE_MODEL(playliststore), playiter, ITEM_COLUMN, &uri,
                   DESCRIPTION_COLUMN, &title, LENGTH_VALUE_COLUMN, &length_value,
                   ARTIST_COLUMN, &artist,
                   ALBUM_COLUMN, &album,
                   AUDIO_CODEC_COLUMN, &audio_codec,
                   VIDEO_CODEC_COLUMN, &video_codec,
                   VIDEO_WIDTH_COLUMN, &width,
                   VIDEO_HEIGHT_COLUMN, &height,
                   DEMUXER_COLUMN, &demuxer,
                   COVERART_COLUMN, &cover_art_file,
                   SUBTITLE_COLUMN, &subtitle,
                   AUDIOFILE_COLUMN, &audiofile,
                   COUNT_COLUMN, &count, PLAYLIST_COLUMN, &playlist, PLAYABLE_COLUMN, &playable, -1);
    (uri == "file:///tmp/qwe#qwe.webm")
    gmtk_media_player_set_uri(GMTK_MEDIA_PLAYER(media), uri);
}

gmtk-1.0.9/src/gmtk_media_player.c: launch_mplayer()
{
    (player->uri == "file:///tmp/qwe#qwe.webm")
    file = g_file_new_for_uri(player->uri);
    filename = g_file_get_path(file);
    (filename == "/tmp/qwe")
}

Original comment by [email protected] on 9 Jul 2014 at 10:28

from gnome-mplayer.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Suggest the patch that fixes this issue.

Original comment by [email protected] on 22 Apr 2015 at 3:04

Attachments:

from gnome-mplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.