diff options
author | Marcos Kintschner <marcos.ktn@gmail.com> | 2019-04-30 21:25:12 -0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-05-02 11:06:47 +0100 |
commit | f13f3872a9e21302ba7c8549e4a0a04b2ad8d733 (patch) | |
tree | 3a22c121d93429ed75297f9330f1e87530d92b9e /sys/wasapi/gstwasapisrc.h | |
parent | d9f112ba63767215086aedba3774feec7c146bf3 (diff) | |
download | gstreamer-plugins-bad-f13f3872a9e21302ba7c8549e4a0a04b2ad8d733.tar.gz |
Fixed segtotal value being always 2 due to an unused variable
The 'MAX' expression used to set segtotal always returned 2 because the unused and unitialized variable buffer_frame_count was always 0
Diffstat (limited to 'sys/wasapi/gstwasapisrc.h')
-rw-r--r-- | sys/wasapi/gstwasapisrc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/wasapi/gstwasapisrc.h b/sys/wasapi/gstwasapisrc.h index 6ba82b815..60bfc3b82 100644 --- a/sys/wasapi/gstwasapisrc.h +++ b/sys/wasapi/gstwasapisrc.h @@ -49,8 +49,6 @@ struct _GstWasapiSrc /* Client was reset, so it needs to be started again */ gboolean client_needs_restart; - /* Actual size of the allocated buffer */ - guint buffer_frame_count; /* The mix format that wasapi prefers in shared mode */ WAVEFORMATEX *mix_format; /* The probed caps that we can accept */ |