summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
-rw-r--r--src/v4l.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 197647c..e407edc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,7 @@
bin_PROGRAMS = simplertp
simplertp_LDADD = $(QT_LIBS) $(AO_LIBS) $(V4LC_LIBS) -ljpeg \
+ $(top_srcdir)/lrtp/src/liblrtp.la $(top_srcdir)/libaudioin/src/libaudioin.la \
$(shell ../tools/MocList o ) qrc_simplertp.o
simplertp_CXXFLAGS = $(QT_CFLAGS) $(AO_CFLAGS) $(V4LC_CFLAGS)
diff --git a/src/v4l.cc b/src/v4l.cc
index f220403..38f53b7 100644
--- a/src/v4l.cc
+++ b/src/v4l.cc
@@ -95,6 +95,7 @@ static int xioctl(int fh, int request, void *arg)
/*
* In typical computer APIs, "YUV" actually means YCbCr, and "YUYV" means
* "YCbCr 4:2:2" stored as Y0, Cb01, Y1, Cr01, Y2 ...
+ * From: http://stackoverflow.com/questions/16390783/how-to-save-yuyv-raw-data-to-jpeg-using-libjpeg
*/
static void toJpeg(int quality, unsigned char *yuyv,
int image_width, int image_height,