{
gboolean result = gst_type_find_register(0, "playlist", GST_RANK_MARGINAL, playlistTypeFindFunction, 0, 0, this, 0);
Q_ASSERT(result == TRUE);
+ Q_UNUSED(result);
m_playbin = gst_element_factory_make("playbin2", NULL);
}
}
-
-bool QGstreamerPlayerSession::isBuffering() const
-{
- return false;
-}
-
-int QGstreamerPlayerSession::bufferingProgress() const
-{
- return 0;
-}
-
int QGstreamerPlayerSession::volume() const
{
return m_volume;
);
- GstState state;
+ GstState state = GST_STATE_VOID_PENDING;
switch (m_pendingState) {
case QMediaPlayer::StoppedState:
gst_bin_add(GST_BIN(session->m_videoOutputBin), session->m_colorSpace);
gst_element_link_many(session->m_videoIdentity, session->m_colorSpace, session->m_videoSink, NULL);
- GstState state;
+ GstState state = GST_STATE_VOID_PENDING;
switch (session->m_pendingState) {
case QMediaPlayer::StoppedState:
qint64 duration() const;
qint64 position() const;
- bool isBuffering() const;
-
- int bufferingProgress() const;
-
int volume() const;
bool isMuted() const;
void mutedStateChanged(bool muted);
void audioAvailableChanged(bool audioAvailable);
void videoAvailableChanged(bool videoAvailable);
- void bufferingChanged(bool buffering);
void bufferingProgressChanged(int percentFilled);
void playbackFinished();
void tagsChanged();