Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ bool MediaPlayerPrivateGStreamer::isPipelineWaitingPreroll() const

void MediaPlayerPrivateGStreamer::play()
{
fprintf(stderr,"Gowthami-play()\n");
if (isMediaStreamPlayer()) {
m_pausedTime = MediaTime::invalidTime();
if (m_startTime.isInvalid())
Expand Down Expand Up @@ -463,6 +464,7 @@ void MediaPlayerPrivateGStreamer::play()

void MediaPlayerPrivateGStreamer::pause()
{
fprintf(stderr,"Gowthami-pause()\n");
if (isMediaStreamPlayer())
m_pausedTime = currentMediaTime();

Expand Down Expand Up @@ -564,6 +566,7 @@ bool MediaPlayerPrivateGStreamer::doSeek(const MediaTime& position, float rate,

void MediaPlayerPrivateGStreamer::seek(const MediaTime& mediaTime)
{
fprintf(stderr,"Gowthami-seek start\n");
if (!m_pipeline || m_didErrorOccur || isMediaStreamPlayer())
return;

Expand Down Expand Up @@ -2582,6 +2585,7 @@ void MediaPlayerPrivateGStreamer::purgeOldDownloadFiles(const String& downloadFi

void MediaPlayerPrivateGStreamer::finishSeek()
{
fprintf(stderr,"Gowthami-finishseek\n");
GST_DEBUG_OBJECT(pipeline(), "[Seek] seeked to %s", toString(m_seekTime).utf8().data());
m_telemetry.reportPlaybackState(Telemetry::IReport::AVPipelineState::SEEK_DONE, "seek_to:"+std::to_string(m_seekTime.toDouble()));

Expand Down