Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

MediaObject Class

(Phonon::Gstreamer::MediaObject)

Inherits: QObject and MediaNode.

Public Functions

MediaObject(Backend * backend, QObject * parent)
~MediaObject()
void addMissingCodecName(const QString & codec)
bool audioAvailable()
GstElement * audioGraph()
gulong capsHandler()
void connectAudio(GstPad * audioPad)
void connectVideo(GstPad * videoPad)
qint64 currentTime() const
QString errorString() const
Phonon::ErrorType errorType() const
void handleBusMessage(const Message & msg)
void handleEndOfStream()
bool hasInterface(Interface) const
bool hasVideo() const
QVariant interfaceCall(Interface, int, const QList<QVariant> &)
void invalidateGraph()
bool isLoading()
bool isSeekable() const
void pause()
GstElement * pipeline()
void play()
qint32 prefinishMark() const
qint64 remainingTime() const
void resumeState()
void saveState()
void seek(qint64 time)
void setNextSource(const MediaSource & source)
void setPrefinishMark(qint32 newPrefinishMark)
void setSource(const MediaSource & source)
void setTickInterval(qint32 newTickInterval)
void setTransitionTime(qint32)
MediaSource source() const
Phonon::State state() const
void stop()
qint32 tickInterval() const
qint64 totalTime() const
qint32 transitionTime() const
QUrl url() const
bool videoAvailable()
GstElement * videoGraph()

Public Slots

void setState(State)
  • 1 public slot inherited from QObject

Signals

void aboutToFinish()
void angleChanged(int)
void availableAnglesChanged(int)
void availableAudioChannelsChanged()
void availableChaptersChanged(int)
void availableSubtitlesChanged()
void availableTitlesChanged(int)
void bufferStatus(int percentFilled)
void chapterChanged(int)
void currentSourceChanged(const MediaSource & newSource)
void finished()
void hasVideoChanged(bool)
QMultiMap<QString, QString> metaData()
void metaDataChanged(QMultiMap<QString, QString>)
void prefinishMarkReached(qint32)
void seekableChanged(bool)
void setMetaData(QMultiMap<QString, QString> newData)
void stateChanged(Phonon::State newstate, Phonon::State oldstate)
void tick(qint64 time)
void titleChanged(int)
void totalTimeChanged(qint64 length)

Static Public Members

void cb_newpad(GstElement * decodebin, GstPad * pad, gboolean last, gpointer data)
void cb_no_more_pads(GstElement * decodebin, gpointer data)
void cb_pad_added(GstElement * decodebin, GstPad * pad, gpointer data)
void cb_unknown_type(GstElement * decodebin, GstPad * pad, GstCaps * caps, gpointer data)
  • 11 static public members inherited from QObject

Protected Functions

void beginLoad()
void changeState(State)
bool createPipefromStream(const MediaSource &)
bool createPipefromURL(const QUrl & url)
void loadingComplete()
void newPadAvailable(GstPad * pad)
void setError(const QString & errorString, Phonon::ErrorType error = NormalError)

Reimplemented Protected Functions

virtual GstElement * audioElement()
virtual GstElement * videoElement()

Additional Inherited Members

  • 1 property inherited from QObject

Member Function Documentation

MediaObject::MediaObject(Backend * backend, QObject * parent)

MediaObject::~MediaObject()

void MediaObject::aboutToFinish() [signal]

void MediaObject::addMissingCodecName(const QString & codec)

void MediaObject::angleChanged(int) [signal]

bool MediaObject::audioAvailable()

GstElement * MediaObject::audioElement() [virtual protected]

GstElement * MediaObject::audioGraph()

void MediaObject::availableAnglesChanged(int) [signal]

void MediaObject::availableAudioChannelsChanged() [signal]

void MediaObject::availableChaptersChanged(int) [signal]

void MediaObject::availableSubtitlesChanged() [signal]

void MediaObject::availableTitlesChanged(int) [signal]

void MediaObject::beginLoad() [protected]

void MediaObject::bufferStatus(int percentFilled) [signal]

gulong MediaObject::capsHandler()

void MediaObject::cb_newpad(GstElement * decodebin, GstPad * pad, gboolean last, gpointer data) [static]

void MediaObject::cb_no_more_pads(GstElement * decodebin, gpointer data) [static]

void MediaObject::cb_pad_added(GstElement * decodebin, GstPad * pad, gpointer data) [static]

void MediaObject::cb_unknown_type(GstElement * decodebin, GstPad * pad, GstCaps * caps, gpointer data) [static]

void MediaObject::changeState(State) [protected]

void MediaObject::chapterChanged(int) [signal]

void MediaObject::connectAudio(GstPad * audioPad)

void MediaObject::connectVideo(GstPad * videoPad)

bool MediaObject::createPipefromStream(const MediaSource &) [protected]

bool MediaObject::createPipefromURL(const QUrl & url) [protected]

void MediaObject::currentSourceChanged(const MediaSource & newSource) [signal]

qint64 MediaObject::currentTime() const

QString MediaObject::errorString() const

Phonon::ErrorType MediaObject::errorType() const

void MediaObject::finished() [signal]

void MediaObject::handleBusMessage(const Message & msg)

void MediaObject::handleEndOfStream()

bool MediaObject::hasInterface(Interface) const

bool MediaObject::hasVideo() const

void MediaObject::hasVideoChanged(bool) [signal]

QVariant MediaObject::interfaceCall(Interface, int, const QList<QVariant> &)

void MediaObject::invalidateGraph()

bool MediaObject::isLoading()

bool MediaObject::isSeekable() const

void MediaObject::loadingComplete() [protected]

QMultiMap<QString, QString> MediaObject::metaData() [signal]

See also setMetaData().

void MediaObject::metaDataChanged(QMultiMap<QString, QString>) [signal]

void MediaObject::newPadAvailable(GstPad * pad) [protected]

void MediaObject::pause()

GstElement * MediaObject::pipeline()

void MediaObject::play()

qint32 MediaObject::prefinishMark() const

See also setPrefinishMark().

void MediaObject::prefinishMarkReached(qint32) [signal]

qint64 MediaObject::remainingTime() const

void MediaObject::resumeState()

void MediaObject::saveState()

void MediaObject::seek(qint64 time)

void MediaObject::seekableChanged(bool) [signal]

void MediaObject::setError(const QString & errorString, Phonon::ErrorType error = NormalError) [protected]

void MediaObject::setMetaData(QMultiMap<QString, QString> newData) [signal]

See also metaData().

void MediaObject::setNextSource(const MediaSource & source)

void MediaObject::setPrefinishMark(qint32 newPrefinishMark)

See also prefinishMark().

void MediaObject::setSource(const MediaSource & source)

See also source().

void MediaObject::setState(State) [slot]

See also state().

void MediaObject::setTickInterval(qint32 newTickInterval)

See also tickInterval().

void MediaObject::setTransitionTime(qint32)

See also transitionTime().

MediaSource MediaObject::source() const

See also setSource().

Phonon::State MediaObject::state() const

See also setState().

void MediaObject::stateChanged(Phonon::State newstate, Phonon::State oldstate) [signal]

void MediaObject::stop()

void MediaObject::tick(qint64 time) [signal]

qint32 MediaObject::tickInterval() const

See also setTickInterval().

void MediaObject::titleChanged(int) [signal]

qint64 MediaObject::totalTime() const

void MediaObject::totalTimeChanged(qint64 length) [signal]

qint32 MediaObject::transitionTime() const

See also setTransitionTime().

QUrl MediaObject::url() const

bool MediaObject::videoAvailable()

GstElement * MediaObject::videoElement() [virtual protected]

GstElement * MediaObject::videoGraph()

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web