Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeifAndersen/146fbf6dae9cfa0232efa6b863799d6f to your computer and use it in GitHub Desktop.
Save LeifAndersen/146fbf6dae9cfa0232efa6b863799d6f to your computer and use it in GitHub Desktop.
leif@FATT ~/v/native-pkgs/ffmpeg-src (master) $ git checkout n3.2.2
Note: checking out 'n3.2.2'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 148c4fb8d2... Update for 3.2.2
leif@FATT ~/v/native-pkgs/ffmpeg-src (148c4fb8d2) $ ag 'av_buffersink_get_w'
leif@FATT ~/v/native-pkgs/ffmpeg-src (148c4fb8d2) $ git checkout master
Previous HEAD position was 148c4fb8d2... Update for 3.2.2
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
leif@FATT ~/v/native-pkgs/ffmpeg-src (master) $ ag 'av_buffersink_get_w'
ffmpeg.c
3359: enc_ctx->width = av_buffersink_get_w(ost->filter->filter);
ffmpeg_filter.c
1110: ofilter->width = av_buffersink_get_w(sink);
libavdevice/lavfi.c
323: st->codecpar->width = av_buffersink_get_w(sink);
328: av_buffersink_get_w(sink) * av_buffersink_get_h(sink) *
libavfilter/buffersink.h
114:int av_buffersink_get_w (const AVFilterContext *ctx);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment