History

vpxenc: cosmetics: timebase help update / spelling

The timebase update fixes Issue #61.

James Zern committed 15 years ago

Commit 3a975d91 parent db8f0d21 file · +7 −4Browse files

Unified · Split

vpxenc.c+7−4
@@ -538,7 +538,7 @@ void Ebml_Serialize(EbmlGlobal *glob, const void *buffer_in, int buffer_size, un · 537 unmodified lines
538}538}
539#undef WRITE_BUFFER539#undef WRITE_BUFFER
540 540
541/* Need a fixed size serializer for the track ID. libmkv provdes a 64 bit541/* Need a fixed size serializer for the track ID. libmkv provides a 64 bit
542 * one, but not a 32 bit one.542 * one, but not a 32 bit one.
543 */543 */
544static void Ebml_SerializeUnsigned32(EbmlGlobal *glob, unsigned long class_id, uint64_t ui)544static void Ebml_SerializeUnsigned32(EbmlGlobal *glob, unsigned long class_id, uint64_t ui)
@@ -555,7 +555,7 @@ Ebml_StartSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc, · 10 unmodified lines
555 unsigned long class_id)555 unsigned long class_id)
556{556{
557 //todo this is always taking 8 bytes, this may need later optimization557 //todo this is always taking 8 bytes, this may need later optimization
558 //this is a key that says lenght unknown558 //this is a key that says length unknown
559 uint64_t unknownLen = LITERALU64(0x01FFFFFFFFFFFFFF);559 uint64_t unknownLen = LITERALU64(0x01FFFFFFFFFFFFFF);
560 560
561 Ebml_WriteID(glob, class_id);561 Ebml_WriteID(glob, class_id);
@@ -971,7 +971,7 @@ static const struct arg_enum_list stereo_mode_enum[] = { · 409 unmodified lines
971static const arg_def_t stereo_mode = ARG_DEF_ENUM(NULL, "stereo-mode", 1,971static const arg_def_t stereo_mode = ARG_DEF_ENUM(NULL, "stereo-mode", 1,
972 "Stereo 3D video format", stereo_mode_enum);972 "Stereo 3D video format", stereo_mode_enum);
973static const arg_def_t timebase = ARG_DEF(NULL, "timebase", 1,973static const arg_def_t timebase = ARG_DEF(NULL, "timebase", 1,
974 "Stream timebase (frame duration)");974 "Stream timebase (see below)");
975static const arg_def_t error_resilient = ARG_DEF(NULL, "error-resilient", 1,975static const arg_def_t error_resilient = ARG_DEF(NULL, "error-resilient", 1,
976 "Enable error resiliency features");976 "Enable error resiliency features");
977static const arg_def_t lag_in_frames = ARG_DEF(NULL, "lag-in-frames", 1,977static const arg_def_t lag_in_frames = ARG_DEF(NULL, "lag-in-frames", 1,
@@ -1127,6 +1127,9 @@ static void usage_exit() · 149 unmodified lines
1127 fprintf(stderr, "\nVP8 Specific Options:\n");1127 fprintf(stderr, "\nVP8 Specific Options:\n");
1128 arg_show_usage(stdout, vp8_args);1128 arg_show_usage(stdout, vp8_args);
1129#endif1129#endif
1130 fprintf(stderr, "\nStream timebase (--timebase):\n"
1131 " This is the unit of time used to represent frame timestamps,\n"
1132 " in fractional seconds. Default is 1/1000.\n");
1130 fprintf(stderr, "\n"1133 fprintf(stderr, "\n"
1131 "Included encoders:\n"1134 "Included encoders:\n"
1132 "\n");1135 "\n");
@@ -1165,7 +1168,7 @@ static int merge_hist_buckets(struct hist_bucket *bucket, · 32 unmodified lines
1165 big_bucket = i;1168 big_bucket = i;
1166 }1169 }
1167 1170
1168 /* If we have too many buckets, merge the smallest with an ajacent1171 /* If we have too many buckets, merge the smallest with an adjacent
1169 * bucket.1172 * bucket.
1170 */1173 */
1171 while(buckets > max_buckets)1174 while(buckets > max_buckets)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t