Package elisa :: Package plugins :: Package bad :: Package dvd :: Module dvd_player :: Class ElisaDVDPlayer
[hide private]
[frames] | no frames]

Class ElisaDVDPlayer

source code

Nested Classes [hide private]
  __metaclass__
Instance Methods [hide private]
 
__classinit__(cls, new_attrs)
Given a class and a new set of attributes (as passed in by __classinit__), create or modify properties based on functions with special names ending in __get, __set, and __del.
source code
 
__init__(self, gpl=0) source code
 
is_menu__get(self) source code
 
fire_action(self, action) source code
gst.BaseSink
video_sink__get(self)
Video sink access
source code
 
video_sink__set(self, sink)
Video sink setter
source code
 
get_volume_element(self) source code
 
volume__get(self)
The volume of the audio stream
source code
 
volume__set(self, volume) source code
 
on_message(self, bus, message) source code
 
load_uri(self, uri) source code
gst.FORMAT_TIME
gst_duration__get(self)
Returns the duration of the currently playing context
source code
long in nanoseconds,
duration__get(self)
Returns the duration of the currently playing context
source code
gst.FORMAT_TIME
gst_position__get(self)
Returns the position of the currently playing context
source code
long in nanoseconds,
position__get(self)
Returns the position of the currently playing context
source code
 
seek_to_location(self, location) source code
 
pause(self) source code
 
play(self) source code
 
stop(self) source code
 
get_state(self, timeout=1) source code
 
is_playing(self) source code
Class Variables [hide private]
  in_menu = signal.Signal('in_menu', bool)
Method Details [hide private]

video_sink__get(self)

source code 

Video sink access

If we're using playbin, return the value of the 'video-sink' property. Either find the element in the pipeline named 'video-sink'
Returns: gst.BaseSink

video_sink__set(self, sink)

source code 
Video sink setter

seek_to_location(self, location)

source code 
Parameters:
  • location - time to seek to, in nanoseconds