Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-plugins-base
gst-plugins-base
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 608
    • Issues 608
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 88
    • Merge Requests 88
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GStreamer
  • gst-plugins-basegst-plugins-base
  • Merge Requests
  • !437

Open
Opened Sep 21, 2019 by Víctor Manuel Jáquez Leal@vjaquez
  • Report abuse
Report abuse

{video,audio}decoder: don't raise an error in bus when no frames decoded

  • Overview 13
  • Commits 1
  • Pipelines 4
  • Changes 2

There's a sample in Khronos WebGL conformance test which is a webm container that expresses two streams:

Topology:
  container: WebM
    audio: Vorbis
    video: VP8

Properties:
  Duration: 0:00:05.038000000
  Seekable: yes
  Live: no
  Tags: 
      container format: Matroska
      language code: en

Nonetheless, the audio stream contains zero frames.

This configuration makes the audio decoder to raise an error in the bus. Using playbin2 the stream cannot be played at all. With playbin3 the stream is played and the error is raised at the end.

These error raising in audio decoding was added as a equivalence with video decoder in bug 711094, but even the proposal was questioned by the author.

This MR proposes a change in the audio decoder from raising an error in the bus, to a warning.

Questions:

  1. Should be do the same in video decoding?
  2. Should we add all these Khronos and WPT media samples in the integration tests? (Cc: @thiblahute)
Edited Sep 23, 2019 by Víctor Manuel Jáquez Leal

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch "https://gitlab.freedesktop.org/vjaquez/gst-plugins-base.git" "dont-break-stream-no-audio"
git checkout -b "vjaquez/gst-plugins-base-dont-break-stream-no-audio" FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "origin/master"
git merge --no-ff "vjaquez/gst-plugins-base-dont-break-stream-no-audio"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: gstreamer/gst-plugins-base!437