Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-good gst-plugins-good
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 648
    • Issues 648
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 82
    • Merge requests 82
  • 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-goodgst-plugins-good
  • Issues
  • #539

Closed
Open
Created Dec 24, 2018 by Qi Hou@hqContributor

Pulsesink: “Disconnected: Bad state” error printed when play an audio with varying number of channels

When play audio with varying number of channels, error like "Disconnected: Bad state" always appears when the number of channels changes. The issue is caused by stream check in function gst_pulsesink_get_sink_input_info () in pulsesink.c. Is it necessary to check the state of pbuf->stream in function gst_pulsesink_get_sink_input_info ()?

If we don't check the state of stream in function gst_pulsesink_get_sink_input_info () in pulsesink.c like below by change TRUE to FALSE, then the audio can play normally. The attachment is the tested audio with varying number of channels.

while (pa_operation_get_state (o) == PA_OPERATION_RUNNING) { pa_threaded_mainloop_wait (mainloop); if (gst_pulsering_is_dead (psink, pbuf, FALSE)) goto unlock; }

AC3_48_448_Ch_all_acmodswp.ac3

Assignee
Assign to
Time tracking