diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-10-02 03:19:03 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-10-02 03:19:15 +0200 |
commit | aed2d9de0a7edb974cea58e8fe0c3fe73ccb58f3 (patch) | |
tree | 2127f0049f082333ffc2edcc7ece16b671253e47 /src/sydra.c | |
parent | fixed error output (diff) |
added command line switch to disable automatic client handling
added some warnings for pointless configuration combinations
Diffstat (limited to 'src/sydra.c')
-rw-r--r-- | src/sydra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sydra.c b/src/sydra.c index 9201ab4..ec8d805 100644 --- a/src/sydra.c +++ b/src/sydra.c @@ -192,7 +192,7 @@ int main_loop(options_t* opt) log_printf(NOTICE, "Set State: Paused"); gst_element_set_state(pipeline, GST_STATE_PAUSED); - if((opt->mode_ == SENDER && !attach_udpsinks(&sinks)) || + if((opt->mode_ == SENDER && opt->auto_client_ && !attach_udpsinks(&sinks)) || (opt->mode_ == RECEIVER && !attach_udpsources(&sources, opt->rtp_host_))) return -1; |