summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-12-16 12:06:54 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-12-16 12:06:54 +0100
commit97452c2a32dea086db945bd34a2ce9fbe93b3238 (patch)
tree8343cb5dda1c354677f6f95dbd96eb428772d589
parentf425a55a5fc773282828dc6e1df887827d531ca5 (diff)
video: increase buffer size for video device string
-rw-r--r--src/video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video.c b/src/video.c
index 43f7c9d..f191215 100644
--- a/src/video.c
+++ b/src/video.c
@@ -97,7 +97,7 @@ struct vtx {
struct tmr tmr_rtp; /**< Timer for sending RTP */
unsigned skipc; /**< Number of frames skipped */
struct list filtl; /**< Filters in encoding order */
- char device[64]; /**< Source device name */
+ char device[128]; /**< Source device name */
int muted_frames; /**< # of muted frames sent */
uint32_t ts_offset; /**< Random timestamp offset */
bool picup; /**< Send picture update */
@@ -136,7 +136,7 @@ struct vrx {
struct tmr tmr_picup; /**< Picture update timer */
struct vidsz size; /**< Incoming video resolution */
enum vidorient orient; /**< Display orientation */
- char device[64]; /**< Display device name */
+ char device[128]; /**< Display device name */
int pt_rx; /**< Incoming RTP payload type */
int frames; /**< Number of frames received */
int efps; /**< Estimated frame-rate */