I've finally done additional checking with two opal endpoints. It is easy to spot actually which profile used.
Just compile with x264 licensed support and use fifth level trace.
There is quite obvious correlation with negotiated incoming fmt () and frame decoding tracing.
In case of incoming RTP fmt H.264-High there is:
  0:00.502    Media Patc...44b4b6e700    x264    sps:0 profile:100/32 poc:2 ref:1 80x45 FRM 8B8 crop:0/0/0/0 VUI 420 1/50
  0:00.502    Media Patc...44b4b6e700    x264    pps:0 sps:0 CABAC slice_groups:1 ref:1/1 weighted qp:26/26/-2/-2 LPAR   8x8DCT

In case of incoming RTP fmt H.264-1 there is:
  0:00.512    Media Patc...4664e0e700    x264    Decoding 5533 bytes
  0:00.512    Media Patc...4664e0e700    x264    sps:0 profile:66/32 poc:2 ref:1 80x45 FRM 8B8 crop:0/0/0/0 VUI 420 1/50
  0:00.512    Media Patc...4664e0e700    x264    pps:0 sps:0 CAVLC slice_groups:1 ref:1/1  qp:26/26/-2/-2 LPAR

So I suppose it is quite safe to apply this patch.
Otherwise there is always 66 (Base profile) no matter which fmt negotiated.



On 15 January 2014 04:02, Robert Jongbloed <robertj@voxlucida.com.au> wrote:
But wouldn't that mean that every H.264 encoder, even if simple or main, will end up being high profile?

Robert Jongbloed
OPAL/OpenH323/PTLib Architect and Co-founder.
Commercial support at http://www.voxlucida.com.au

On 15/01/2014 12:39 AM, Alexander Sbitnev wrote:
  I've found that High profile not yet working (in opal 3.12.8). Probably missed one small thing during previous time I was preparing patches.
To restore High profile operation one change in the begging of H264Encoder::H264Encoder() constructor should be done:
replace SetProfileLevel(66, 30, 0xc0);
with SetProfileLevel(100, 30, 0xc0);

  It happens to be x264_param_apply_profile(&m_context, ) function is only able to restrict. So if it initially restrict m_context to Base profile
there is no way back. Next x264_param_apply_profile(&m_context, "high") will be unable to restore High profile for this context.
If context was initially restricted to Base profile in the begging applying options with negotiated High profile will not produce desired effect.


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


_______________________________________________
Opalvoip-devel mailing list
Opalvoip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opalvoip-devel


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Opalvoip-devel mailing list
Opalvoip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opalvoip-devel