Commit 32438ffb authored by Clément Stenac's avatar Clément Stenac

Transcode cropping/padding patch by Udo Richter < udo underscore richter at...

Transcode cropping/padding patch by Udo Richter < udo underscore richter at gmx d0t de> (with added round-to-16 fix) . Many thanks for this.

Seems to work neatly, please test nevertheless.

Closes:#448

parent 8d263243
...@@ -197,6 +197,12 @@ vlc_module_begin(); ...@@ -197,6 +197,12 @@ vlc_module_begin();
set_callbacks( E_(OpenFilter), E_(CloseFilter) ); set_callbacks( E_(OpenFilter), E_(CloseFilter) );
set_description( _("ffmpeg video filter") ); set_description( _("ffmpeg video filter") );
/* crop/padd submodule */
add_submodule();
set_capability( "crop padd", 10 );
set_callbacks( E_(OpenCropPadd), E_(CloseFilter) );
set_description( _("ffmpeg crop padd filter") );
/* video filter submodule */ /* video filter submodule */
add_submodule(); add_submodule();
set_capability( "video filter2", 0 ); set_capability( "video filter2", 0 );
......
...@@ -70,6 +70,7 @@ void E_(CloseDemux)( vlc_object_t * ); ...@@ -70,6 +70,7 @@ void E_(CloseDemux)( vlc_object_t * );
/* Video filter module */ /* Video filter module */
int E_(OpenFilter)( vlc_object_t * ); int E_(OpenFilter)( vlc_object_t * );
int E_(OpenCropPadd)( vlc_object_t * );
void E_(CloseFilter)( vlc_object_t * ); void E_(CloseFilter)( vlc_object_t * );
int E_(OpenDeinterlace)( vlc_object_t * ); int E_(OpenDeinterlace)( vlc_object_t * );
void E_(CloseDeinterlace)( vlc_object_t * ); void E_(CloseDeinterlace)( vlc_object_t * );
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment