Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-camogm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-camogm
Commits
135f7eba
Commit
135f7eba
authored
Sep 23, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add fast rec checkbox
parent
1013ff59
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
6 deletions
+19
-6
camogmgui.js
src/camogmgui/camogmgui.js
+11
-0
camogmgui.php
src/camogmgui/camogmgui.php
+8
-6
No files found.
src/camogmgui/camogmgui.js
View file @
135f7eba
...
@@ -669,3 +669,14 @@ function toggle_buffer() {
...
@@ -669,3 +669,14 @@ function toggle_buffer() {
document
.
getElementById
(
'buffer_toggle_link'
).
style
.
display
=
"block"
;
document
.
getElementById
(
'buffer_toggle_link'
).
style
.
display
=
"block"
;
}
}
}
}
// enable fast recording through disk driver
function
fast_rec_changed
(
parent
)
{
if
(
parent
.
checked
)
{
document
.
getElementById
(
'radioJpg'
).
checked
=
true
;
document
.
getElementById
(
'directory'
).
disabled
=
true
;
}
else
{
document
.
getElementById
(
'directory'
).
disabled
=
false
;
}
}
src/camogmgui/camogmgui.php
View file @
135f7eba
...
@@ -561,18 +561,20 @@
...
@@ -561,18 +561,20 @@
<b>
Format:
</b><br
/>
<b>
Format:
</b><br
/>
<?
<?
if
(
$xml_format
==
"ogm"
)
if
(
$xml_format
==
"ogm"
)
echo
"<input type=
\"
radio
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
ogm
\"
onChange=
\"
format_changed(this);
\"
checked> Ogg Media Stream<br />"
;
echo
"<input type=
\"
radio
\"
id=
\"
radioOgm
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
ogm
\"
onChange=
\"
format_changed(this);
\"
checked> Ogg Media Stream<br />"
;
else
else
echo
"<input type=
\"
radio
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
ogm
\"
onChange=
\"
format_changed(this);
\"
> Ogg Media Stream<br />"
;
echo
"<input type=
\"
radio
\"
id=
\"
radioOgm
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
ogm
\"
onChange=
\"
format_changed(this);
\"
> Ogg Media Stream<br />"
;
if
(
$xml_format
==
"mov"
)
if
(
$xml_format
==
"mov"
)
echo
"<input type=
\"
radio
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
mov
\"
onChange=
\"
format_changed(this);
\"
checked> Apple Quicktime Movie<br />"
;
echo
"<input type=
\"
radio
\"
id=
\"
radioMov
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
mov
\"
onChange=
\"
format_changed(this);
\"
checked> Apple Quicktime Movie<br />"
;
else
else
echo
"<input type=
\"
radio
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
mov
\"
onChange=
\"
format_changed(this);
\"
> Apple Quicktime Movie<br />"
;
echo
"<input type=
\"
radio
\"
id=
\"
radioMov
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
mov
\"
onChange=
\"
format_changed(this);
\"
> Apple Quicktime Movie<br />"
;
if
(
$xml_format
==
"jpeg"
)
if
(
$xml_format
==
"jpeg"
)
echo
"<input type=
\"
radio
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
jpg
\"
onChange=
\"
format_changed(this);
\"
checked> JPEG Sequence<br />"
;
echo
"<input type=
\"
radio
\"
id=
\"
radioJpg
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
jpg
\"
onChange=
\"
format_changed(this);
\"
checked> JPEG Sequence<br />"
;
else
else
echo
"<input type=
\"
radio
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
jpg
\"
onChange=
\"
format_changed(this);
\"
> JPEG Sequence<br />"
;
echo
"<input type=
\"
radio
\"
id=
\"
radioJpg
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
jpg
\"
onChange=
\"
format_changed(this);
\"
> JPEG Sequence<br />"
;
?>
?>
<input
id=
"fast_rec"
type=
"checkbox"
style=
"left:1px; top:3px; position:relative;"
name=
""
value=
""
onChange=
"fast_rec_changed(this)"
>
Use fast recording
<a
href=
"#"
onClick=
"help('fast_rec');"
><img
src=
"images/help.png"
></a><br
/>
<br
/>
<br
/>
Directory:
<input
id=
"directory"
type=
"text"
onChange=
"DirectoryChanged();"
name=
"prefix"
value=
"
<?
echo
$xml_directory
;
?>
"
><br
/>
Directory:
<input
id=
"directory"
type=
"text"
onChange=
"DirectoryChanged();"
name=
"prefix"
value=
"
<?
echo
$xml_directory
;
?>
"
><br
/>
...
...
Write
Preview
Markdown
is supported
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