summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-06-28 11:48:04 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-28 11:48:04 -0300
commita1f051bc9c24756e56651c89f2556edd677db014 (patch)
tree370fd07b5b9eef3cf294e0a045de2615014f2b65
parenta64ec6b36dd6773bfada490525d6bde19e54da52 (diff)
downloadmediapointer-dvb-s2-a1f051bc9c24756e56651c89f2556edd677db014.tar.gz
mediapointer-dvb-s2-a1f051bc9c24756e56651c89f2556edd677db014.tar.bz2
Fix subject identification
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rwxr-xr-xv4l/scripts/hghead.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/v4l/scripts/hghead.pl b/v4l/scripts/hghead.pl
index 02295bcef..14c3d906f 100755
--- a/v4l/scripts/hghead.pl
+++ b/v4l/scripts/hghead.pl
@@ -91,7 +91,8 @@ while ($line = <IN>) {
}
if ($tag =~ m/^subject:/) {
- $subject="$arg\n";
+ $subject = "$arg\n";
+ $sub_ok = 1;
next;
}
@@ -136,6 +137,7 @@ while ($line = <IN>) {
if ($line =~ m|^(V4L\/DVB\s*\(.+\)\s*:.*\n)|) {
$subject=$1;
+ $sub_ok = 1;
$line="\n";
}
@@ -147,7 +149,6 @@ while ($line = <IN>) {
next;
}
$sub_ok=1;
- substr( $subject, 0, 1 ) = uc (substr ($subject, 0, 1));
if ($subject =~ m|V4L\/DVB\s*(.+)|) {
$subject=$1;
}