<div dir="ltr">Hello, may I know the status of these two patches?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 11, 2016 at 6:39 PM, <span dir="ltr"><<a href="mailto:mahesh@multicorewareinc.com" target="_blank">mahesh@multicorewareinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">From: Mahesh <<a href="mailto:mahesh@multicorewareinc.com">mahesh@multicorewareinc.com</a>><br>
<br>
---<br>
modules/gui/qt/components/sout/profile_selector.cpp | 20 +++++++++++++++-----<br>
1 file changed, 15 insertions(+), 5 deletions(-)<br>
<br>
diff --git a/modules/gui/qt/components/sout/profile_selector.cpp b/modules/gui/qt/components/sout/profile_selector.cpp<br>
index cfb1882..2fe35c5 100644<br>
--- a/modules/gui/qt/components/sout/profile_selector.cpp<br>
+++ b/modules/gui/qt/components/sout/profile_selector.cpp<br>
@@ -257,8 +257,9 @@ void VLCProfileSelector::updateOptions( int i )<br>
<br>
if ( !value.isEmpty() )<br>
{<br>
+ QString encoder;<br>
smrl.option( "vcodec", value );<br>
-<br>
+ encoder = value;<br>
HASHPICK( "vcodec", "bitrate" );<br>
if ( value.toInt() > 0 )<br>
{<br>
@@ -272,7 +273,7 @@ void VLCProfileSelector::updateOptions( int i )<br>
smrl.option( "vfilter", valuesList.join( ":" ) );<br>
}<br>
<br>
- /*if ( codec is h264 )*/<br>
+<br>
{<br>
/* special handling */<br>
QStringList codecoptions;<br>
@@ -285,9 +286,18 @@ void VLCProfileSelector::updateOptions( int i )<br>
if( !value.isEmpty() )<br>
codecoptions << QUrl::fromPercentEncoding( value.toLatin1() );<br>
<br>
- if ( codecoptions.count() )<br>
- smrl.option( "venc",<br>
- QString("x264{%1}").arg( codecoptions.join(",") ) );<br>
+ if ( encoder == "hevc" )<br>
+ {<br>
+ if ( codecoptions.count() )<br>
+ smrl.option( "venc",<br>
+ QString("x265{%1}").arg( codecoptions.join(",") ) );<br>
+ }<br>
+ else<br>
+ {<br>
+ if ( codecoptions.count() )<br>
+ smrl.option( "venc",<br>
+ QString("x264{%1}").arg( codecoptions.join(",") ) );<br>
+ }<br>
}<br>
<br>
HASHPICK( "vcodec", "framerate" );<br>
--<br>
1.8.3.1<br>
<br>
</div></div></blockquote></div><br></div>