summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf.c
diff options
context:
space:
mode:
authorgreg <greg@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-05 23:13:08 +0000
committergreg <greg@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-05 23:13:08 +0000
commitca7cbc07244e261910cd651e2005bd6a9a7132be (patch)
tree26a4b651bf12c9c1c95b11422096c5163c80e798 /libmpcodecs/vf.c
parentfbb74e16a38d6a5af31a7fb369195988f7414766 (diff)
downloadmpv-ca7cbc07244e261910cd651e2005bd6a9a7132be.tar.bz2
mpv-ca7cbc07244e261910cd651e2005bd6a9a7132be.tar.xz
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
Diffstat (limited to 'libmpcodecs/vf.c')
-rw-r--r--libmpcodecs/vf.c2
1 files changed, 2 insertions, 0 deletions
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
};