Skip to content

Commit 6bf760d

Browse files
ntocmassiot
authored andcommitted
include: fix comments for uprobe events and upipe commands
1 parent 87542ae commit 6bf760d

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

include/upipe-gl/upipe_gl_sink_common.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2012-2013 OpenHeadend S.A.R.L.
2+
* Copyright (C) 2012-2018 OpenHeadend S.A.R.L.
33
*
44
* Authors: Benjamin Cohen
55
*
@@ -42,11 +42,11 @@ extern "C" {
4242
enum uprobe_gl_sink_event {
4343
UPROBE_GL_SINK_SENTINEL = UPROBE_LOCAL,
4444

45-
/** init GL context (int SIGNATURE, int width, int height) */
45+
/** init GL context (int width, int height) */
4646
UPROBE_GL_SINK_INIT,
47-
/** render GL (int SIGNATURE, struct uref*) */
47+
/** render GL (struct uref *) */
4848
UPROBE_GL_SINK_RENDER,
49-
/** reshape GL (int SIGNATURE, int width, int height) */
49+
/** reshape GL (int width, int height) */
5050
UPROBE_GL_SINK_RESHAPE,
5151

5252
UPROBE_GL_SINK_LOCAL

include/upipe-modules/upipe_http_source.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2013 OpenHeadend S.A.R.L.
2+
* Copyright (C) 2013-2018 OpenHeadend S.A.R.L.
33
*
44
* Authors: Benjamin Cohen
55
*
@@ -42,7 +42,7 @@ extern "C" {
4242
enum uprobe_http_src_event {
4343
UPROBE_HTTP_SRC_SENTINEL = UPROBE_LOCAL,
4444

45-
/** request receive a redirect (302) response
45+
/** request receive a HTTP 302 redirect response
4646
* with the url (const char *) */
4747
UPROBE_HTTP_SRC_REDIRECT,
4848
/** request receive an error code response

include/upipe/upipe.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2012-2016 OpenHeadend S.A.R.L.
2+
* Copyright (C) 2012-2018 OpenHeadend S.A.R.L.
33
*
44
* Authors: Christophe Massiot
55
*
@@ -154,11 +154,11 @@ enum upipe_command {
154154
UPIPE_SRC_GET_POSITION,
155155
/** asks to read at the given position (uint64_t) */
156156
UPIPE_SRC_SET_POSITION,
157-
/** asks to read at the given position (uint64_t),
158-
* the given size (uint64_t) or to the end ((uint64_t)-1) */
157+
/** asks to read at the given position and size in octets,
158+
* or to the end with size = -1 (uint64_t, uint64_t) */
159159
UPIPE_SRC_SET_RANGE,
160-
/** return the reading range of the currently opened file,
161-
* position (uint64_t) and length (uint64_t) */
160+
/** return the reading position and length of the currently opened file,
161+
* in octets (uint64_t *, uint64_t *) */
162162
UPIPE_SRC_GET_RANGE,
163163

164164
/** non-standard commands implemented by a module type can start from

0 commit comments

Comments
 (0)