mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-24 15:28:27 -04:00
Add DecoderHWAccel fields to Monitor
This commit is contained in:
1 parent
86c4051c44
commit
a28f17653f
2 files changed
+18
No files matched your search
@@ -38,6 +38,8 @@ private $defaults = array(
|
||||
'Palette' => '0',
|
||||
'Orientation' => null,
|
||||
'Deinterlacing' => 0,
|
||||
'DecoderHWAccelName' => null,
|
||||
'DecoderHWAccelDevice' => null,
|
||||
'SaveJPEGs' => 3,
|
||||
'VideoWriter' => '0',
|
||||
'OutputCodec' => null,
|
||||
|
||||
@@ -895,6 +895,22 @@ include('_monitor_source_nvsocket.php');
|
||||
<td><?php echo translate('Options') ?> (<?php echo makePopupLink( '?view=optionhelp&option=OPTIONS_'.strtoupper($monitor->Type()), 'zmOptionHelp', 'optionhelp', '?' ) ?>)</td>
|
||||
<td><input type="text" name="newMonitor[Options]" value="<?php echo validHtmlStr($monitor->Options()) ?>"/></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
if ( $monitor->Type() == 'Ffmpeg' ) {
|
||||
?>
|
||||
<tr class="DecoderHWAccelName">
|
||||
<td><?php echo translate('DecoderHWAccelName') ?>
|
||||
(<?php echo makePopupLink('?view=optionhelp&option=DECODERHWACCELNAME', 'zmOptionHelp', 'optionhelp', '?') ?>)
|
||||
</td>
|
||||
<td><input type="text" name="newMonitor[DecoderHWAccelName]" value="<?php echo validHtmlStr($monitor->DecoderHWAccelName()) ?>"/></td>
|
||||
</tr>
|
||||
<tr class="DecoderHWAccelDevice">
|
||||
<td><?php echo translate('DecoderHWAccelDevice') ?>
|
||||
(<?php echo makePopupLink('?view=optionhelp&option=DECODERHWACCELDEVIC', 'zmOptionHelp', 'optionhelp', '?') ?>)
|
||||
</td>
|
||||
<td><input type="text" name="newMonitor[DecoderHWAccelDevice]" value="<?php echo validHtmlStr($monitor->DecoderHWAccelDevice()) ?>"/></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
if ( $monitor->Type() != 'NVSocket' && $monitor->Type() != 'WebSite' ) {
|
||||
|
||||
Reference in new issue
Block a user