Skip to content
Snippets Groups Projects
Commit f21eb060 authored by Thomas Dinges's avatar Thomas Dinges
Browse files

Render Buttons:

* Made Audio Section in "Encoding Panel" easier. 
parent 284f66ac
Branches
Tags
No related merge requests found
...@@ -402,12 +402,15 @@ class RENDER_PT_encoding(RenderButtonsPanel): ...@@ -402,12 +402,15 @@ class RENDER_PT_encoding(RenderButtonsPanel):
col.prop(rd, "ffmpeg_muxrate", text="Rate") col.prop(rd, "ffmpeg_muxrate", text="Rate")
col.prop(rd, "ffmpeg_packetsize", text="Packet Size") col.prop(rd, "ffmpeg_packetsize", text="Packet Size")
row = layout.row() # Audio:
row.label(text="Audio:") layout.prop(rd, "ffmpeg_multiplex_audio", text="Audio")
row = layout.row()
row.prop(rd, "ffmpeg_audio_codec", text="Codec")
split = layout.split() sub = layout.column()
sub.active = rd.ffmpeg_multiplex_audio
sub.prop(rd, "ffmpeg_audio_codec", text="Codec")
sub.separator()
split = sub.split()
col = split.column() col = split.column()
col.prop(rd, "ffmpeg_audio_bitrate") col.prop(rd, "ffmpeg_audio_bitrate")
...@@ -415,7 +418,6 @@ class RENDER_PT_encoding(RenderButtonsPanel): ...@@ -415,7 +418,6 @@ class RENDER_PT_encoding(RenderButtonsPanel):
if wide_ui: if wide_ui:
col = split.column() col = split.column()
col.prop(rd, "ffmpeg_multiplex_audio")
col.prop(rd, "ffmpeg_audio_volume", slider=True) col.prop(rd, "ffmpeg_audio_volume", slider=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment