summaryrefslogtreecommitdiff
path: root/doc/t2h.init
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-10 01:25:15 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-10 02:01:03 +0100
commitc59b80c8d3e46f176172d582f27c14d772e306fc (patch)
tree8457ccf4abee25effcc243b22764b969127493d7 /doc/t2h.init
parent5b98ea1b7309fd43694b92e990439636630f408a (diff)
parent4c386333529dd773e673e1366d1f6243d2c5af92 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: isom: sort and pretty-print codec_movaudio_tags[] isom: remove pointless comments in codec_movaudio_tags[] isom: remove commented-out tag for vorbis movenc: write 'chan' tag for AC-3 in MOV mov: add support for reading and writing the 'chan' tag audioconvert: add some additional channel and channel layout macros audioconvert: change 7.1 "wide" layout to use side surround channels movenc: simplify handling of pcm vs. adpcm vs. other compressed codecs doc: update documentation to use avconv doc: update demuxers section doc: extend external library coverage doc: split platform specific information doc: port the git-howto to texinfo doc: provide fallback css and customize @float doc: document fate in a texinfo doxy: change hue value to match our green Conflicts: doc/fate.txt doc/ffserver.texi doc/general.texi doc/muxers.texi doc/protocols.texi doc/t2h.init libavformat/isom.c libavformat/mov.c libavutil/avutil.h tests/ref/acodec/pcm_s16be tests/ref/acodec/pcm_s24be tests/ref/acodec/pcm_s32be tests/ref/acodec/pcm_s8 tests/ref/lavf/mov Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/t2h.init')
-rw-r--r--doc/t2h.init86
1 files changed, 86 insertions, 0 deletions
diff --git a/doc/t2h.init b/doc/t2h.init
index ee87ac2230..db5536bd88 100644
--- a/doc/t2h.init
+++ b/doc/t2h.init
@@ -9,6 +9,63 @@ $EXTRA_HEAD =
<link rel="stylesheet" type="text/css" href="default.css" />
';
+$CSS_LINES = <<EOT;
+<style type="text/css">
+<!--
+a.summary-letter { text-decoration: none }
+a { color: #2D6198; }
+a:visited { color: #884488; }
+h1 a, h2 a, h3 a { text-decoration: inherit; color: inherit; }
+p { margin-left: 1em; margin-right: 1em; }
+table { margin-left: 2em; }
+pre { margin-left: 2em; }
+#footer { text-align: center; }
+#body { margin-left: 1em; margin-right: 1em; }
+body { background-color: #313131; margin: 0; }
+
+#container {
+ background-color: white;
+ color: #202020;
+ margin-left: 1em;
+ margin-right: 1em;
+}
+
+h1 {
+ background-color: #7BB37B;
+ border: 1px solid #6A996A;
+ color: #151515;
+ font-size: 1.2em;
+ padding-bottom: 0.2em;
+ padding-left: 0.4em;
+ padding-top: 0.2em;
+}
+
+h2 {
+ color: #313131;
+ font-size: 1.2em;
+}
+
+h3 {
+ color: #313131;
+ font-size: 0.8em;
+ margin-bottom: -8px;
+}
+
+.note {
+ margin: 1em;
+ border: 1px solid #bbc9d8;
+ background-color: #dde1e1;
+}
+
+.important {
+ margin: 1em;
+ border: 1px solid #d26767;
+ background-color: #f8e1e1;
+}
+
+-->
+</style>
+EOT
my $FFMPEG_NAVBAR = $ENV{"FFMPEG_NAVBAR"} || '';
@@ -31,6 +88,35 @@ sub FFmpeg_print_page_foot($$)
print $fh "</div>\n";
}
+$float = \&FFmpeg_float;
+
+sub FFmpeg_float($$$$)
+{
+ my $text = shift;
+ my $float = shift;
+ my $caption = shift;
+ my $shortcaption = shift;
+
+ my $label = '';
+ if (exists($float->{'id'}))
+ {
+ $label = &$anchor($float->{'id'});
+ }
+ my $class = '';
+ my $subject = '';
+
+ if ($caption =~ /NOTE/)
+ {
+ $class = "note";
+ }
+ elsif ($caption =~ /IMPORTANT/)
+ {
+ $class = "important";
+ }
+
+ return '<div class="float ' . $class . '">' . "$label\n" . $text . '</div>';
+}
+
$print_page_head = \&FFmpeg_print_page_head;
sub FFmpeg_print_page_head($$)
{