Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 986
    • Issues 986
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 132
    • Merge requests 132
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #520

Closed
Open
Created Feb 09, 2017 by Bugzilla Migration User@bugzilla-migration

gstplayer: Add gst_player play / stop in sync mode API

Submitted by Lyon

Link to original bug (#778390)

Description

Currently the gst_player_play() / gst_player_stop() functions are in async mode. When return from _play/stop() function, the gstplayer state might not changed yet.
When in application side, we may want to seek after gst_player_play(), and need get seekable flag in media_info. however, as the gst_player_play() function is async, the media_info might not been created yet.

So we implement gst_player_play_sync() and gst_player_stop_sync() function to wait for the state change finished. So that it will be easy to handle for application.

Do you think add these API is reasonable. or Should these functions should be implement on application side.

Thanks
Lyon

Version: 1.x

Assignee
Assign to
Time tracking