~audience-members/audience/cleanup-prsyahmi-merge

« back to all changes in this revision

Viewing changes to src/Widgets/VideoPlayer.vala

  • Committer: Syahmi Azhar
  • Date: 2015-01-10 10:22:11 UTC
  • Revision ID: syahmi@icreative.com.my-20150110102211-b28kv08637xne1zm
Fixed loading/dropping non media file cause welcome screen become hidden

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
                        video_width = get_video_width (video_info);
106
106
                    }
107
107
                } catch (Error e) {
108
 
                    error ();
109
108
                    warning (e.message);
110
109
                    return;
111
110
                }
112
111
 
 
112
                media_loading ();
 
113
 
113
114
                intial_relayout = true;
114
115
                playing = false;
115
116
                playbin.set_state (Gst.State.READY);
176
177
        public signal void configure_window (uint video_w, uint video_h);
177
178
        public signal void progression_changed (double current_time, double total_time);
178
179
        public signal void external_subtitle_changed (string? uri);
 
180
        public signal void media_loading ();
179
181
        
180
182
        private VideoPlayer () {
181
183
            video = new Clutter.Texture ();
477
479
            return num / (double)denom;
478
480
        }
479
481
    }
480
 
}
 
 
b'\\ No newline at end of file'
 
482
}