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
538538 }
539539 #undef WRITE_BUFFER
540540
541−/* Need a fixed size serializer for the track ID. libmkv provdes a 64 bit
541+/* Need a fixed size serializer for the track ID. libmkv provides a 64 bit
542542 * one, but not a 32 bit one.
543543 */
544544 static 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
555555 unsigned long class_id)
556556 {
557557 //todo this is always taking 8 bytes, this may need later optimization
558− //this is a key that says lenght unknown
558+ //this is a key that says length unknown
559559 uint64_t unknownLen = LITERALU64(0x01FFFFFFFFFFFFFF);
560560
561561 Ebml_WriteID(glob, class_id);
@@ -971,7 +971,7 @@ static const struct arg_enum_list stereo_mode_enum[] = { · 409 unmodified lines
971971 static const arg_def_t stereo_mode = ARG_DEF_ENUM(NULL, "stereo-mode", 1,
972972 "Stereo 3D video format", stereo_mode_enum);
973973 static const arg_def_t timebase = ARG_DEF(NULL, "timebase", 1,
974− "Stream timebase (frame duration)");
974+ "Stream timebase (see below)");
975975 static const arg_def_t error_resilient = ARG_DEF(NULL, "error-resilient", 1,
976976 "Enable error resiliency features");
977977 static 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
11271127 fprintf(stderr, "\nVP8 Specific Options:\n");
11281128 arg_show_usage(stdout, vp8_args);
11291129 #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");
11301133 fprintf(stderr, "\n"
11311134 "Included encoders:\n"
11321135 "\n");
@@ -1165,7 +1168,7 @@ static int merge_hist_buckets(struct hist_bucket *bucket, · 32 unmodified lines
11651168 big_bucket = i;
11661169 }
11671170
1168− /* If we have too many buckets, merge the smallest with an ajacent
1171+ /* If we have too many buckets, merge the smallest with an adjacent
11691172 * bucket.
11701173 */
11711174 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