Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
COL0047
hand-detection
Commits
a7ca01da
Commit
a7ca01da
authored
Jan 20, 2021
by
Aaron Boxer
Browse files
ingest: support capture of pipeline dot files
parent
d98fbee6
Pipeline
#20849
failed with stage
in 5 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
annotation_pipeline/ingest.cpp
View file @
a7ca01da
...
...
@@ -103,6 +103,10 @@ handle_keyboard (GIOChannel * source, GIOCondition cond, CustomData * data)
}
else
{
gint
val
=
-
1
;
switch
(
g_ascii_tolower
(
line
[
0
]))
{
case
'd'
:
gst_debug_bin_to_dot_file_with_ts
(
GST_BIN
(
data
->
pipeline
),
GST_DEBUG_GRAPH_SHOW_ALL
,
"pipeline"
);
break
;
case
'p'
:
data
->
playing
=
!
data
->
playing
;
gst_element_set_state
(
data
->
pipeline
,
...
...
@@ -160,6 +164,7 @@ main (int argc, char *argv[])
std
::
string
fname
;
if
(
argc
>
2
)
fname
=
argv
[
2
];
g_setenv
(
"GST_DEBUG_DUMP_DOT_DIR"
,
"/tmp"
,
TRUE
);
gst_init
(
&
argc
,
&
argv
);
/* Initialize our data structure */
...
...
@@ -168,6 +173,7 @@ main (int argc, char *argv[])
/* Print usage map */
g_print
(
"USAGE: Choose one of the following options, then press enter:
\n
"
" 'p' to toggle between PAUSE and PLAY
\n
"
" 'd' to capture pipeline diagram
\n
"
" 'q' to quit
\n
"
" 'g' to enter gain mode
\n
"
" 'h' to enter gain-auto mode
\n
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment