equal
deleted
inserted
replaced
53 esac |
53 esac |
54 # |
54 # |
55 # 'chroma subsampling mode' mjpegtools >= 1.8.0 |
55 # 'chroma subsampling mode' mjpegtools >= 1.8.0 |
56 # |
56 # |
57 SUBSAMPLINGMODE="" |
57 SUBSAMPLINGMODE="" |
58 if ppmtoy4m -h | egrep -q "'420mpeg2'"; then |
58 if ppmtoy4m -h 2>&1 | egrep -q "'420mpeg2'"; then |
59 SUBSAMPLINGMODE="-S 420mpeg2" |
59 SUBSAMPLINGMODE="-S 420mpeg2" |
60 fi |
60 fi |
61 # |
61 # |
62 # extract the image size & compute scale value |
62 # extract the image size & compute scale value |
63 # |
63 # |