hevc: Set 1 to num_units_in_tick and 50 to time_scale when absent.
h264: Set 1 to num_units_in_tick and 50 to time_scale when absent.