-
Notifications
You must be signed in to change notification settings - Fork 171
Cherry-pick Add PipelineStatusCode DEMUXER_ERROR_PROGRESSIVE_DISABLED #7827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
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}
| <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"/> |
There was a problem hiding this comment.
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"/> |
There was a problem hiding this comment.
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"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
|
We should consider to put this to 26.android branch as well (possible 26.eap). |
Cherry-picks crrev.com/c/7099119 to add a new PipelineStatusCode
DEMUXER_ERROR_PROGRESSIVE_DISABLED. Additionally, this error code was added to pipeline_status.ccPipelineStatusToString, and added in the Cobalt-specific progressive demuxer section in theDemuxerManager.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}