[h323plus] Behavior on VideoInputDevice

Jan Willamowius jan at willamowius.de
Thu Aug 20 17:19:06 EDT 2009


Hi Marcos,

Marcos Fábio Jardini wrote:
> h323plus_2008.sln
> ==============
> Files opalvxml.cxx, line 138 and codecs.cxx, line 379
> -----------------------------------------------------
> codecs.h is a DirectShow/COM internal archive, full of IDL macros,
> don't be referenced direct. Seens VS ambiguous 'codec.h' from DShow
> and 'codec.h' in h323plus_2008.sln
> 
> Solution #1: Full path reference codecs.h to {path to
> H323Plus}/include/codecs.h (?)
> Solution #2: add pragma alias for disambiguation, like:
> alias("ds_codecs.h", "%ProgramFiles%\Microsoft
> SDKs\Windows\v6.0A\Include\codecs.h")

I would go with #1.


> File codecs.cxx, line 572
> -------------------------
> Preprocessor branch "#ifdef H323_VIDEO" but line 787 says: "#endif //
> NO_H323_VIDEO"
> 
> Solution: Correct preprocessor line 572 to "#ifndef NO_H323_VIDEO" (?)

I have fixed the comment on the #endif.


> VisualStudio Preprocessor Hell
> ------------------------------
> For some weird reason (or at least strange for me), Visual Studio
> interprets "#define x" and "#define x 1" completly diferent from each
> to other for comparsions like "#ifdef x", "#if defined(x)" and "#if
> x".
> Because this some files sections are grayed out and don't have some
> clue if fragment is being compiled or not.
> 
> Plugins.sln
> ========
> ffmpeg H.263 Video Codec need the PBooblean definition
> ------------------------------------------------------
> 
> Fast Solution: declare PBolean as BOOL

Fixed.


Regards,
Jan

-- 
Jan Willamowius, jan at willamowius.de, http://www.willamowius.de/



More information about the h323plus mailing list