Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-106259

FFMPEG refactoring: propose new design

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Not Evaluated
    • 6.5
    • None
    • Multimedia
    • None

    Description

      Current ffmpeg media player design is based on multithreading and mutex locks. This causes unexpected deadlocks and it's not very flexible and extensible.
      The idea is to refactor the ffmpeg part via multithreading and signals/slots system. Mutex lockings should be minimized if possible, performing tasks in a thread tasks loop is preferable.
      The task is to propose a new design of ffmpeg playback.

      Possible solutions:

      1. Use an approach similar to the existing one but with threads interactions via signal/slots and QueuedConnection.
      2. Use QThreadPool where tasks produce new tasks and push the to the pool.

       

      Some prototypes could be proposed as well.

       

       

      Attachments

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

        Activity

          People

            artemiy Artem Dyomin
            artemiy Artem Dyomin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes