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

Fix linter errors #172

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Pion
Source: https://github.com/pion/

Files: README.md DESIGN.md **/README.md AUTHORS.txt renovate.json go.mod go.sum **/go.mod **/go.sum .eslintrc.json package.json examples/examples.json
Files: README.md DESIGN.md **/README.md AUTHORS.txt renovate.json go.mod go.sum **/go.mod **/go.sum .eslintrc.json package.json examples.json sfu-ws/flutter/.gitignore sfu-ws/flutter/pubspec.yaml c-data-channels/webrtc.h
Copyright: 2023 The Pion community <https://pion.ly>
License: MIT

Expand Down
2 changes: 1 addition & 1 deletion internal/gstreamer-sink/gst.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void gstreamer_receive_stop_pipeline(GstElement *pipeline) { gst_element_set_sta
void gstreamer_receive_push_buffer(GstElement *pipeline, void *buffer, int len) {
GstElement *src = gst_bin_get_by_name(GST_BIN(pipeline), "src");
if (src != NULL) {
gpointer p = g_memdup(buffer, len);
gpointer p = g_memdup2(buffer, len);
GstBuffer *buffer = gst_buffer_new_wrapped(p, len);
gst_app_src_push_buffer(GST_APP_SRC(src), buffer);
gst_object_unref(src);
Expand Down
Loading