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

Always Check GStreamer Plugins #346

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 renderers/audio_renderer_gstreamer.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ audio_renderer_t *audio_renderer_gstreamer_init(logger_t *logger, video_renderer
gst_init(NULL, NULL);
}

assert(check_plugins());
g_assert(check_plugins());

renderer->pipeline = gst_parse_launch("appsrc name=audio_source stream-type=0 format=GST_FORMAT_TIME is-live=true ! queue ! decodebin !"
"audioconvert ! volume name=volume ! level ! autoaudiosink sync=false", &error);
Expand Down
2 changes: 1 addition & 1 deletion renderers/video_renderer_gstreamer.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ video_renderer_t *video_renderer_gstreamer_init(logger_t *logger, video_renderer
renderer->base.funcs = &video_renderer_gstreamer_funcs;
renderer->base.type = VIDEO_RENDERER_GSTREAMER;

assert(check_plugins());
g_assert(check_plugins());

// Begin the video pipeline
GString *launch = g_string_new("appsrc name=video_source stream-type=0 format=GST_FORMAT_TIME is-live=true !"
Expand Down