-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[GStreamer] Trim leading zeroes from track IDs #23668
[GStreamer] Trim leading zeroes from track IDs #23668
Conversation
EWS run on previous version of this PR (hash b334b04)
|
@@ -290,8 +301,7 @@ void TrackPrivateBaseGStreamer::notifyTrackOfStreamChanged() | |||
if (!streamId) | |||
return; | |||
|
|||
GST_INFO("Track %d got stream start for stream %s.", m_index, streamId.get()); |
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.
Please, if you have the opportunity before merging the PR, add again this GST_INFO() line to the final patch. I find these log lines useful when having to debug track issues.
In order to do that, since the PR is already approved, you can just include this line in the commit message. No need to ask for an additional review:
Reviewed by Xabier Rodriguez-Calvar and Philippe Normand.
Thanks!
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.
That line should be included automatically by the commit queue.
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.
Even after resubmitting a patch with fixes? I thought any r+ granted was reset in that case. That's why I've always filled in the "Reviewed by" line when resubmitting last minute fixes after the patch was approved. Thanks for clarifying!
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.
That happened before github, since github it works.
b334b04
to
3be515d
Compare
EWS run on current version of this PR (hash 3be515d) |
https://bugs.webkit.org/show_bug.cgi?id=268549 Reviewed by Xabier Rodriguez-Calvar and Philippe Normand. Qtdemux inserts leading zeroes when generating stream-ids, this patch trims them in TrackPrivateBaseGStreamer for a better representation of their underlying integers. * Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp: (WebCore::trimStreamId): (WebCore::TrackPrivateBaseGStreamer::TrackPrivateBaseGStreamer): (WebCore::TrackPrivateBaseGStreamer::notifyTrackOfStreamChanged): (WebCore::TrackPrivateBaseGStreamer::trackIdFromPadStreamStartOrUniqueID): Canonical link: https://commits.webkit.org/274469@main
3be515d
to
48efea4
Compare
Committed 274469@main (48efea4): https://commits.webkit.org/274469@main Reviewed commits have been landed. Closing PR #23668 and removing active labels. |
https://bugs.webkit.org/show_bug.cgi?id=270100 Reviewed by Xabier Rodriguez-Calvar. Use StringView::find() to trim zeroes instead of ::trim(), to not remove trailing zeroes. See previous PR: WebKit#23668 * Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp: (WebCore::trimStreamId): fix implementation Canonical link: https://commits.webkit.org/275378@main
https://bugs.webkit.org/show_bug.cgi?id=270100 Reviewed by Xabier Rodriguez-Calvar. Use StringView::find() to trim zeroes instead of ::trim(), to not remove trailing zeroes. See previous PR: WebKit/WebKit#23668 * Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp: (WebCore::trimStreamId): fix implementation Canonical link: https://commits.webkit.org/275378@main
https://bugs.webkit.org/show_bug.cgi?id=270100 Reviewed by Xabier Rodriguez-Calvar. Use StringView::find() to trim zeroes instead of ::trim(), to not remove trailing zeroes. See previous PR: WebKit/WebKit#23668 * Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp: (WebCore::trimStreamId): fix implementation Canonical link: https://commits.webkit.org/275378@main
https://bugs.webkit.org/show_bug.cgi?id=270100 Reviewed by Xabier Rodriguez-Calvar. Use StringView::find() to trim zeroes instead of ::trim(), to not remove trailing zeroes. See previous PR: WebKit/WebKit#23668 * Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp: (WebCore::trimStreamId): fix implementation Canonical link: https://commits.webkit.org/275378@main
…gi?id=270100 [GStreamer] Fix trimming of track IDs https://bugs.webkit.org/show_bug.cgi?id=270100 Reviewed by Xabier Rodriguez-Calvar. Use StringView::find() to trim zeroes instead of ::trim(), to not remove trailing zeroes. See previous PR: #23668 * Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp: (WebCore::trimStreamId): fix implementation Canonical link: https://commits.webkit.org/275378@main Canonical link: https://commits.webkit.org/274313.189@webkitglib/2.44
https://bugs.webkit.org/show_bug.cgi?id=270100 Reviewed by Xabier Rodriguez-Calvar. Use StringView::find() to trim zeroes instead of ::trim(), to not remove trailing zeroes. See previous PR: WebKit/WebKit#23668 * Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp: (WebCore::trimStreamId): fix implementation Canonical link: https://commits.webkit.org/275378@main
https://bugs.webkit.org/show_bug.cgi?id=270100 Reviewed by Xabier Rodriguez-Calvar. Use StringView::find() to trim zeroes instead of ::trim(), to not remove trailing zeroes. See previous PR: WebKit/WebKit#23668 * Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp: (WebCore::trimStreamId): fix implementation Canonical link: https://commits.webkit.org/275378@main
48efea4
3be515d
🛠 wincairo