Re: Are there Perl bindings for gstreamer-1.0?




On 29/04/14 15:46, Steve Cookson wrote:
The buttons are not yet active.
    Wx::Event::EVT_BUTTON( $i_main_menu, $media_pause_btn,  sub {
        my ($self, $event) = @_;
        $gl_pipeline->set_state('GST_STATE_PAUSED')
        }
    );


Wx::Event::EVT_BUTTON( $i_main_menu, $media_play_btn, sub {
        my ($self, $event) = @_;
        $gl_pipeline->set_state('GST_STATE_PLAYING')
        }
    );


Etc, will get them playing and pausing.

Regards

Steve


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]