Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-608

Currently, although we can get a renderer control from a media service, but this renderer control doesn't work as expected.

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • None
    • Multimedia
    • None

      Class
      QMediaService
      QVideoRendererControl
      QAbstractVideoSurface

      Class Member
      void QVideoRendererControl::setSurface ( QAbstractVideoSurface * surface )

      Suggestion
      QMediaService should provide a valid renderer control, which means the renderer control is working actually.

      Reason
      Currently, although we can get a renderer control from a media service, but this renderer control doesn't work as expected (as its description in the document.)

      Scenario
      We want to get each frame of a video file, so use the following code :
      QVideoRendererControl *rendererControl = qobject_cast<QVideoRendererControl *>(mediaService->requestControl(QVideoRendererControl_iid));
      rendererControl->setSurface(myVideoSurface);
      Then bool QAbstractVideoSurface::present ( const QVideoFrame & frame ) will be called, so we can get the video frame.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            gastockw Gareth Stockwell
            brigchen Bright Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes