[FFmpeg-devel] [Patch] Add input swap functionality to movie filter (src_movie.c)

Felt, Patrick Patrick.Felt at echostar.com
Wed May 4 05:12:33 CEST 2016


Odd.  I know I’m not doing this right, I’m not versed in git yet, I’m stuck in oldschool land with svn and cvs ideals..

[administrator at dev ffmpeg]$ git pull
Already up-to-date.

[administrator at dev ffmpeg]$ git diff > ../src_movie.c.diff.new
[administrator at dev ffmpeg]$ rm libavfilter/src_movie.c
[administrator at dev ffmpeg]$ git checkout -- libavfilter/src_movie.c
[administrator at dev ffmpeg]$ patch -p1 < ../src_movie.c.diff.new
patching file libavfilter/src_movie.c
[administrator at dev ffmpeg]$


Maybe my email client snarfed it or something.  Let me attach as an attachment instead of trying include it in the body






On 5/3/16, 8:34 PM, "ffmpeg-devel on behalf of Michael Niedermayer" <ffmpeg-devel-bounces at ffmpeg.org on behalf of michael at niedermayer.cc> wrote:

>On Wed, May 04, 2016 at 12:15:26AM +0000, Felt, Patrick wrote:
>> Afternoon all,
>>   I apologize if this isn’t right way to submit a patch. Attached is a patch for src_movie.c that modifies it to allow for one to use the process_command() infrastructure to swap the input file on the fly.  I’ve added a few options to the filter and exposed filename to the process_command subsystem.  Useful for live streaming and “changing the channel”.
>> 
>
>patch doest apply:
>
>Applying: Add input swap functionality to movie filter (src_movie.c)
>fatal: corrupt patch at line 8
>Repository lacks necessary blobs to fall back on 3-way merge.
>Cannot fall back to three-way merge.
>Patch failed at 0001 Add input swap functionality to movie filter (src_movie.c)
>When you have resolved this problem run "git am --resolved".
>If you would prefer to skip this patch, instead run "git am --skip".
>To restore the original branch and stop patching run "git am --abort".
>
>[...]
>-- 
>Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
>Everything should be made as simple as possible, but not simpler.
>-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src_movie.c.diff
Type: application/octet-stream
Size: 15004 bytes
Desc: src_movie.c.diff
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160504/e2881fdf/attachment.obj>


More information about the ffmpeg-devel mailing list