Use new added shout2send options
This commit is contained in:
parent
8bb36dfb2a
commit
729f406934
|
@ -314,6 +314,7 @@ public:
|
|||
<< std::quoted(GST_PAD_NAME(pad)) << " with an event type "
|
||||
<< std::quoted(evtype) << std::endl;
|
||||
if (look_for_tag_event(pad, event, user_data)) {
|
||||
// std::cout << "dropping tag event" << std::endl;
|
||||
// Drop all tag events (mark them as handled and unref as per doc)
|
||||
gst_event_unref(event);
|
||||
return GST_PAD_PROBE_HANDLED;
|
||||
|
@ -801,6 +802,9 @@ public:
|
|||
g_object_set(
|
||||
shout2sendsink, "streamname", config.stream.name.c_str(), NULL);
|
||||
g_object_set(shout2sendsink, "url", config.stream.url.c_str(), NULL);
|
||||
g_object_set(shout2sendsink, "skip-song-updates", true, NULL);
|
||||
g_object_set(
|
||||
shout2sendsink, "user-agent", "IceGStreamer-20220514-01", NULL);
|
||||
}
|
||||
|
||||
inline void hookup_signals() {
|
||||
|
|
Loading…
Reference in New Issue