Skip to content

Conversation

@osagie98
Copy link
Contributor

Cherry-picks crrev.com/c/7099119 to add a new PipelineStatusCode DEMUXER_ERROR_PROGRESSIVE_DISABLED. Additionally, this error code was added to pipeline_status.cc PipelineStatusToString, and added in the Cobalt-specific progressive demuxer section in the DemuxerManager.

The original commit message follows.

This provides a more accurate error when the FFmpeg/Progressive Demuxer fails to be created due to a build or runtime configuration. Previously, this scenario would report a less precise catch-all error DEMUXER_ERROR_COULD_NOT_OPEN.

Bug: 422452498
Change-Id: I087023045c8a32edb12ebb5d0be44863294aea55
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7099119
Reviewed-by: Dale Curtis dalecurtis@chromium.org
Commit-Queue: Austin Osagie austinosagie@google.com
Reviewed-by: Caitlin Fischer caitlinfischer@google.com
Auto-Submit: Austin Osagie austinosagie@google.com
Cr-Commit-Position: refs/heads/main@{#1538857}

This provides a more accurate error when the FFmpeg/Progressive Demuxer
fails to be created due to a build or runtime configuration. Previously,
this scenario would report a less precise catch-all error
DEMUXER_ERROR_COULD_NOT_OPEN.

Bug: 422452498
Change-Id: I087023045c8a32edb12ebb5d0be44863294aea55
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7099119
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: Austin Osagie <austinosagie@google.com>
Reviewed-by: Caitlin Fischer <caitlinfischer@google.com>
Auto-Submit: Austin Osagie <austinosagie@google.com>
Cr-Commit-Position: refs/heads/main@{#1538857}
@osagie98 osagie98 requested review from a team as code owners October 31, 2025 21:46
@osagie98 osagie98 requested a review from kaidokert October 31, 2025 21:46
<enum name="PipelineStatus">
<int value="0" label="PIPELINE_OK"/>
<int value="1" label="PIPELINE_ERROR_URL_NOT_FOUND"/>
<int value="1" label="(Deprecated) PIPELINE_ERROR_URL_NOT_FOUND"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like not from this cherry pick PR?

<int value="8" label="PIPELINE_ERROR_COULD_NOT_RENDER"/>
<int value="9" label="PIPELINE_ERROR_READ"/>
<int value="10" label="PIPELINE_ERROR_OPERATION_PENDING"/>
<int value="10" label="(Deprecated) PIPELINE_ERROR_OPERATION_PENDING"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

<int value="18" label="CHUNK_DEMUXER_ERROR_EOS_STATUS_NETWORK_ERROR"/>
<int value="19" label="AUDIO_RENDERER_ERROR"/>
<int value="20" label="AUDIO_RENDERER_ERROR_SPLICE_FAILED"/>
<int value="20" label="(Deprecated) AUDIO_RENDERER_ERROR_SPLICE_FAILED"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@borongc
Copy link
Contributor

borongc commented Nov 1, 2025

We should consider to put this to 26.android branch as well (possible 26.eap).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants