Skip to content
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

Re-export gstreamer log related functions #312

Closed
wants to merge 2 commits into from
Closed

Conversation

@ferjm
Copy link
Member

ferjm commented Sep 20, 2019

This will help with servo/servo#23700

@ferjm ferjm mentioned this pull request Sep 20, 2019
3 of 3 tasks complete
@ferjm
Copy link
Member Author

ferjm commented Sep 20, 2019

r? @jdm

pub use gst::{
debug_add_log_function, debug_remove_default_log_function, DebugCategory, DebugLevel,
DebugLogFunction,
};

This comment has been minimized.

@ceyusa

ceyusa Sep 20, 2019

Contributor

You're exposing internal GStreamer API, breaking the backend independence.

@ceyusa ceyusa mentioned this pull request Sep 20, 2019
@jdm
Copy link
Member

jdm commented Sep 20, 2019

Rather than exposing some kind of logging API from this crate, I am inclined to have any embedder that needs special logging handling to initialize gstreamer and set it up themselves.

@ferjm ferjm closed this Sep 20, 2019
bors-servo added a commit to servo/servo that referenced this pull request Sep 24, 2019
Hook up GST_DEBUG log to visual studio output

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #23700

<strike>Depends on https://github.com/servo/media/pull/312</strike>

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24255)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.