diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-10-02 00:34:26 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-10-02 00:34:26 +0200 |
commit | 5aaf6997d99c800dde845dfa16ce30bd48d45586 (patch) | |
tree | 5002f92b8a70343e80c2d35a36bf44394f90be16 /src | |
parent | fixed linking of av sink (diff) |
fixed error output
Diffstat (limited to 'src')
-rw-r--r-- | src/pipelines.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pipelines.c b/src/pipelines.c index edaaaee..265162c 100644 --- a/src/pipelines.c +++ b/src/pipelines.c @@ -76,7 +76,7 @@ static GstElement* create_avsend_src(const char* desc, GstElement* pipeline) element = gst_bin_get_by_name(GST_BIN(src), "audiosrc"); pad = gst_element_get_static_pad(element, "src"); if(!gst_element_add_pad(src, gst_ghost_pad_new("audio", pad))) { - log_printf(ERROR, "can't create video ghost pad for source bin"); + log_printf(ERROR, "can't create audio ghost pad for source bin"); return NULL; } gst_object_unref(GST_OBJECT(pad)); @@ -138,7 +138,7 @@ static GstElement* create_avrecv_sink(const char* desc, GstElement* pipeline) element = gst_bin_get_by_name(GST_BIN(sink), "audiosink"); pad = gst_element_get_static_pad(element, "sink"); if(!gst_element_add_pad(sink, gst_ghost_pad_new("audio", pad))) { - log_printf(ERROR, "can't create video ghost pad for source bin"); + log_printf(ERROR, "can't create audio ghost pad for source bin"); return NULL; } gst_object_unref(GST_OBJECT(pad)); |