Commit 93cd121b authored by Julian Rother's avatar Julian Rother

Added deinterlace option for livestreams

parent ab24a724
......@@ -177,6 +177,8 @@ def schedule_livestream(lecture_id):
if not obj['clientid']:
flash('Quelle „%s“ ist nicht aktiv!'%obj['name'])
return None
if settings.get('source%i_deinterlace'%idx):
data['src%i'%idx]['vfilter'].append('yadif')
mode = settings.get('source%i_audiomode'%idx)
leftvol = float(settings.get('source%i_leftvolume'%idx, 100))/100.0
rightvol = float(settings.get('source%i_rightvolume'%idx, 100))/100.0
......
......@@ -161,6 +161,7 @@
{% endfor %}
</select>
<img src="{{ url_for('static', filename='smptebars.jpg') }}" style="width: 100%; margin-bottom: 0.5em; margin-top: 0.5em"/>
<div class="checkbox"><label><input name="source{{num }}_deinterlace" type="checkbox">Video deinterlacen</label></div>
<label>Lautstärke</label>
<div class="row">
<div class="col-xs-6">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment