Code Review
/
apps
/
camera-gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Disable buffering on stdout.
[apps/camera-gstreamer.git]
/
app
/
main.cpp
diff --git
a/app/main.cpp
b/app/main.cpp
index
8634bbc
..
fff9c4c
100644
(file)
--- a/
app/main.cpp
+++ b/
app/main.cpp
@@
-672,6
+672,8
@@
int main(int argc, char *argv[])
DEFAULT_VIDEO_DEVICE, WINDOW_WIDTH_SIZE, WINDOW_HEIGHT_SIZE);
gst_init(&gargc, &gargv);
+ setbuf(stdout, NULL);
+
fprintf(stdout, "Using pipeline: %s\n", pipeline_str);
GstElement *pipeline = gst_parse_launch(pipeline_str, &error);