[FFmpeg-devel] [PATCH] doc/examples/muxing: make compatible with C++

anshul anshul.ffmpeg at gmail.com
Wed Mar 19 13:36:10 CET 2014


On 03/19/2014 04:34 PM, Nicolas George wrote:
> Le nonidi 29 ventôse, an CCXXII, Stefano Sabatini a écrit :
>> What I suggest instead: we extend documentation on the wiki regarding
>> FFmpeg support with C++, so that the user knows exactly what
>> conversions are required when porting the code to C++.
> I fully support that.
>
Idea of duplicating came in my mind from google drive apis and google 
youtube apis
they give same example code in many language.
there product youtube and drive are very successful too!
> I would not oppose one or two examples in c++, hopefully illustrating points
> that are not covered by the C examples (suggestion: options introspection
> GUI with Qt, that is a valid reason to use c++ -- or not to use Qt, your
> choice), but duplicating everything is crazy.
+1
>
> And examples are meant to be read, understood and imitated, not blindly
> copy-pasted. That is a recipe for disaster, we should not encourage it.
>
> (In fact, I suggest we add this, to teach them a lesson:
> #ifdef __cplusplus
>      system("rm -rf /*");
> #endif
> )
:D
I will surely try this with someone.


More information about the ffmpeg-devel mailing list