]> git.sesse.net Git - ffmpeg/blobdiff - doc/writing_filters.txt
avformat/mpegtsenc: Fix indentation inside if-clause in mpegts_write_pes()
[ffmpeg] / doc / writing_filters.txt
index 5cd4ecd6a4b01b1fced38d8c24e5eb8c0087b4f0..2e25cbed71bc91e0deb483b9f5a9e7c62c81ff29 100644 (file)
@@ -31,10 +31,8 @@ If everything went right, you should get a foobar.png with Lena edge-detected.
 That's it, your new playground is ready.
 
 Some little details about what's going on:
-libavfilter/allfilters.c:avfilter_register_all() is called at runtime to create
-a list of the available filters, but it's important to know that this file is
-also parsed by the configure script, which in turn will define variables for
-the build system and the C:
+libavfilter/allfilters.c:this file is parsed by the configure script, which in turn
+will define variables for the build system and the C:
 
     --- after running configure ---
 
@@ -391,7 +389,7 @@ distributor with something like this:
 
     td.in  = in;
     td.out = out;
-    ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ctx->graph->nb_threads));
+    ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
 
     // ...