Bug #307 ยป mkv_aspect.patch
tvheadend/src/dvr/mkmux.c | ||
---|---|---|
270 | 270 | |
271 | 271 |
if(ssc->ssc_aspect_num && ssc->ssc_aspect_den) { |
272 | 272 |
ebml_append_uint(vi, 0x54b2, 3); // Display width/height is in DAR |
273 |
ebml_append_uint(vi, 0x54b0, ssc->ssc_aspect_num); |
|
274 |
ebml_append_uint(vi, 0x54ba, ssc->ssc_aspect_den); |
|
273 |
ebml_append_uint(vi, 0x54b0, |
|
274 |
ssc->ssc_width*ssc->ssc_aspect_num/ssc->ssc_aspect_den); |
|
275 |
ebml_append_uint(vi, 0x54ba, |
|
276 |
ssc->ssc_height); |
|
275 | 277 | |
276 | 278 |
} |
277 | 279 |