From ca7cbc07244e261910cd651e2005bd6a9a7132be Mon Sep 17 00:00:00 2001 From: greg Date: Fri, 5 Mar 2010 23:13:08 +0000 Subject: Enable ASS/SSA subtitle support in mencoder Enable ASS/SSA rendering through libass in mencoder. This duplicates a bit of code (to parse font attachments, for example). Additionally, add a filter "fixpts" that generates PTS, simulating fixed fps. PTS generated by this filter are then used for subtitle timing. Original patch by Nicolas George. (nicolas.george normalesup.org) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30849 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmpcodecs/vf.c') diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c index d98b11af6f..02b0f1a8b1 100644 --- a/libmpcodecs/vf.c +++ b/libmpcodecs/vf.c @@ -118,6 +118,7 @@ extern const vf_info_t vf_info_yadif; extern const vf_info_t vf_info_blackframe; extern const vf_info_t vf_info_geq; extern const vf_info_t vf_info_ow; +extern const vf_info_t vf_info_fixpts; // list of available filters: static const vf_info_t* const filter_list[]={ @@ -211,6 +212,7 @@ static const vf_info_t* const filter_list[]={ &vf_info_yadif, &vf_info_blackframe, &vf_info_ow, + &vf_info_fixpts, NULL }; -- cgit v1.2.3