summaryrefslogtreecommitdiffstats
path: root/mpeglib/example/yaf/yafxplayer/README
blob: 3eb486c40a200844c6a515cf2181501424e464b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

This directory contains a generic player frontend.
Use this as a start if you add new decoder support
to yaf.

The first step is to build the generic frontend.
Uncomment in xplayer_control.c the "main" part
and link the *.o fails againt yafcore.

g++ -o xplayer *.o ../yafcore.a


This should build ./xplayer 


If you implement a new player ans you have to change all the names,
the following script is *very* usefull


for i in *.cpp; do
sed s\/XPlayer\/helloName\/g $i >$i.x
mv $i.x $i
done

which replaces all occurances of "XPlayer" in all .cpp files
to "helloName"

(usefull, isn't it)