vlc.git
3 years agomkv: abort if read fails during seek
Filip Roséen [Tue, 14 Jun 2016 14:58:25 +0000 (16:58 +0200)]
mkv: abort if read fails during seek

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agoContrib: mpeg2, reconf after patching configure.ac
Jean-Baptiste Kempf [Tue, 14 Jun 2016 13:08:50 +0000 (15:08 +0200)]
Contrib: mpeg2, reconf after patching configure.ac

3 years agoUnstable libsecret API not available until 0.18.
Nathan Egge [Tue, 14 Jun 2016 12:50:17 +0000 (08:50 -0400)]
Unstable libsecret API not available until 0.18.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agomacosx: capture using avcapture instead of the non-existing qtcapture module
Felix Paul Kühne [Tue, 14 Jun 2016 12:52:20 +0000 (14:52 +0200)]
macosx: capture using avcapture instead of the non-existing qtcapture module

3 years agovideotoolbox: clarify that we don't use ARC for this module
Felix Paul Kühne [Tue, 14 Jun 2016 12:41:25 +0000 (14:41 +0200)]
videotoolbox: clarify that we don't use ARC for this module

3 years agoavcapture: move to ARC
Felix Paul Kühne [Tue, 14 Jun 2016 12:16:14 +0000 (14:16 +0200)]
avcapture: move to ARC

3 years agoaudio_filter: move a52tospdif to tospdif
Rafaël Carré [Tue, 14 Jun 2016 09:45:21 +0000 (11:45 +0200)]
audio_filter: move a52tospdif to tospdif

Modified-By: Thomas Guillem <thomas@gllm.fr>
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agoaudio_filter: remove dtstospdif
Rafaël Carré [Mon, 13 Jun 2016 14:05:35 +0000 (16:05 +0200)]
audio_filter: remove dtstospdif

Modified-By: Thomas Guillem <thomas@gllm.fr>
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agoa52tospdif: add DTS support
Rafaël Carré [Mon, 13 Jun 2016 14:01:38 +0000 (16:01 +0200)]
a52tospdif: add DTS support

Modified-By: Thomas Guillem <thomas@gllm.fr>
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agoRevert "test: remove failing test"
Thomas Guillem [Tue, 14 Jun 2016 08:04:10 +0000 (10:04 +0200)]
Revert "test: remove failing test"

This test doesn't depend on data of the running user anymore.
This reverts commit 06add6ac581fd8578d727a1e8fe6450957be2cba.

3 years agotest: media_discoverer: don't run discoverers
Thomas Guillem [Tue, 14 Jun 2016 08:03:43 +0000 (10:03 +0200)]
test: media_discoverer: don't run discoverers

Since service discoveries depends on data of the user.

3 years agomacosx: remove QTKit dependency and replace by AVFoundation
Felix Paul Kühne [Tue, 14 Jun 2016 00:02:57 +0000 (02:02 +0200)]
macosx: remove QTKit dependency and replace by AVFoundation

3 years agomacosx: fix compilation warning
Felix Paul Kühne [Mon, 13 Jun 2016 23:19:19 +0000 (01:19 +0200)]
macosx: fix compilation warning

3 years agomacosx: fix compilation warning
Felix Paul Kühne [Mon, 13 Jun 2016 23:18:41 +0000 (01:18 +0200)]
macosx: fix compilation warning

3 years agomacosx: fix compilation warning
Felix Paul Kühne [Mon, 13 Jun 2016 23:18:04 +0000 (01:18 +0200)]
macosx: fix compilation warning

3 years agoqtsound: compile only if QTKit is present
Felix Paul Kühne [Mon, 13 Jun 2016 23:12:05 +0000 (01:12 +0200)]
qtsound: compile only if QTKit is present

3 years agonfs: fix compilation warnings
Felix Paul Kühne [Mon, 13 Jun 2016 21:16:04 +0000 (23:16 +0200)]
nfs: fix compilation warnings

3 years agotext: fix decoding of 4-bytes UTF-8 sequences
Rémi Denis-Courmont [Mon, 13 Jun 2016 17:31:15 +0000 (20:31 +0300)]
text: fix decoding of 4-bytes UTF-8 sequences

3 years agotest: full coverage for vlc_towc()
Rémi Denis-Courmont [Mon, 13 Jun 2016 17:30:54 +0000 (20:30 +0300)]
test: full coverage for vlc_towc()

3 years agotest: remove failing test
Rémi Denis-Courmont [Fri, 10 Jun 2016 17:18:28 +0000 (20:18 +0300)]
test: remove failing test

This test never worked.

3 years agoContrib: remove trailing spaces
Jean-Baptiste Kempf [Mon, 13 Jun 2016 12:26:01 +0000 (14:26 +0200)]
Contrib: remove trailing spaces

3 years agolib: media_discoverer: release list after stop
Thomas Guillem [Mon, 13 Jun 2016 11:24:33 +0000 (13:24 +0200)]
lib: media_discoverer: release list after stop

since stop() can use the list to send events.

3 years agolib: media_discoverer: stop after sending events
Thomas Guillem [Mon, 13 Jun 2016 11:23:47 +0000 (13:23 +0200)]
lib: media_discoverer: stop after sending events

3 years agoinput: fix a potential leak when reducing controls
Thomas Guillem [Fri, 10 Jun 2016 07:39:05 +0000 (09:39 +0200)]
input: fix a potential leak when reducing controls

For now, there is no leaks since reduced controls don't have anything to release.

3 years agodemux: mp4: remove unknown control warning
Francois Cartegnie [Mon, 13 Jun 2016 09:03:07 +0000 (11:03 +0200)]
demux: mp4: remove unknown control warning

3 years agotest: media_discoverer: test a specific sd from command line
Thomas Guillem [Mon, 13 Jun 2016 08:56:00 +0000 (10:56 +0200)]
test: media_discoverer: test a specific sd from command line

3 years agotest: add back media_discoverer test
Thomas Guillem [Mon, 13 Jun 2016 08:07:31 +0000 (10:07 +0200)]
test: add back media_discoverer test

This doesn't test network services anymore.

3 years agopacketizer: h264: renamed hrd parameter flag
Francois Cartegnie [Sat, 11 Jun 2016 11:55:01 +0000 (13:55 +0200)]
packetizer: h264: renamed hrd parameter flag

3 years agopacketizer: h264: profile/level are max 1 byte
Francois Cartegnie [Sat, 11 Jun 2016 11:22:03 +0000 (13:22 +0200)]
packetizer: h264: profile/level are max 1 byte

3 years agopacketizer: h264: rename profile compatibility
Francois Cartegnie [Sat, 11 Jun 2016 11:20:10 +0000 (13:20 +0200)]
packetizer: h264: rename profile compatibility

3 years agopacketizer: h264: do not output invalid pts with interlaced
Francois Cartegnie [Sat, 11 Jun 2016 09:42:36 +0000 (11:42 +0200)]
packetizer: h264: do not output invalid pts with interlaced

fixes and simplify interlaced pts interpolation with
single field per AU but multiple AU per block/packet

3 years agotest: remove failing test
Rémi Denis-Courmont [Fri, 10 Jun 2016 17:18:28 +0000 (20:18 +0300)]
test: remove failing test

This test never worked.

3 years agodemux: adaptive: merge toChunk/getChunk
Francois Cartegnie [Wed, 1 Jun 2016 09:37:48 +0000 (11:37 +0200)]
demux: adaptive: merge toChunk/getChunk

AbstractChunk no longer segment chunk

3 years agodemux: adaptive: force representation in segmentchunks
Francois Cartegnie [Wed, 1 Jun 2016 09:22:48 +0000 (11:22 +0200)]
demux: adaptive: force representation in segmentchunks

3 years agodemux: adaptive: set demux time offset to segment start, not seek time
Francois Cartegnie [Thu, 9 Jun 2016 09:44:55 +0000 (11:44 +0200)]
demux: adaptive: set demux time offset to segment start, not seek time

otherwise creates out of sync multiple streams with mp4

3 years agodemux: adaptive: use scaled time helper
Francois Cartegnie [Fri, 10 Jun 2016 13:22:22 +0000 (15:22 +0200)]
demux: adaptive: use scaled time helper

avoids overflows

3 years agodemux: adaptive: add missing number/time mapping for segmentbase
Francois Cartegnie [Thu, 9 Jun 2016 10:07:44 +0000 (12:07 +0200)]
demux: adaptive: add missing number/time mapping for segmentbase

3 years agodemux: adaptive: return both playback time and duration in same method
Francois Cartegnie [Wed, 1 Jun 2016 14:05:42 +0000 (16:05 +0200)]
demux: adaptive: return both playback time and duration in same method

3 years agodemux: adaptive: debug segment duration
Francois Cartegnie [Wed, 8 Jun 2016 16:08:34 +0000 (18:08 +0200)]
demux: adaptive: debug segment duration

3 years agodemux: adaptive: add duration when splitting using index
Francois Cartegnie [Wed, 8 Jun 2016 16:09:05 +0000 (18:09 +0200)]
demux: adaptive: add duration when splitting using index

3 years agotest libvlc_media_discoverer
Thomas Guillem [Fri, 10 Jun 2016 09:33:47 +0000 (11:33 +0200)]
test libvlc_media_discoverer

3 years agolib: deprecate media discoverer events
Thomas Guillem [Fri, 10 Jun 2016 12:30:51 +0000 (14:30 +0200)]
lib: deprecate media discoverer events

3 years agolib: media_discoverer: don't listen to Started/Ended events
Thomas Guillem [Fri, 10 Jun 2016 12:29:22 +0000 (14:29 +0200)]
lib: media_discoverer: don't listen to Started/Ended events

These events are useless and are only triggered when calling vlc_sd_Start() and
vlc_sd_Stop().

3 years agolib: deprecate libvlc_media_discoverer_localized_name
Thomas Guillem [Fri, 10 Jun 2016 12:00:48 +0000 (14:00 +0200)]
lib: deprecate libvlc_media_discoverer_localized_name

use libvlc_media_discoverer_list_get() instead.

3 years agolib: fix libvlc_media_discoverer_localized_name
Thomas Guillem [Fri, 10 Jun 2016 11:58:44 +0000 (13:58 +0200)]
lib: fix libvlc_media_discoverer_localized_name

3 years agolib: media: fix item leak from libvlc_media_new_as_node
Thomas Guillem [Fri, 10 Jun 2016 11:47:28 +0000 (13:47 +0200)]
lib: media: fix item leak from libvlc_media_new_as_node

3 years agoxcb_apps: fix item leak
Thomas Guillem [Fri, 10 Jun 2016 10:45:57 +0000 (12:45 +0200)]
xcb_apps: fix item leak

3 years agolib: media_discoverer: fix media leak
Thomas Guillem [Fri, 10 Jun 2016 10:45:44 +0000 (12:45 +0200)]
lib: media_discoverer: fix media leak

3 years agocontrib: upnp: don't use a debug file
Steve Lhomme [Fri, 10 Jun 2016 08:08:01 +0000 (10:08 +0200)]
contrib: upnp: don't use a debug file

send debug logs to stderr

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agocontrib: upnp: fix the debug configure flag
Steve Lhomme [Fri, 10 Jun 2016 07:59:14 +0000 (09:59 +0200)]
contrib: upnp: fix the debug configure flag

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agocompat: gettimeofday: unused variable
Steve Lhomme [Fri, 10 Jun 2016 08:08:03 +0000 (10:08 +0200)]
compat: gettimeofday: unused variable

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agocontrib: define HAVE_WIN64 for mingw amd64 and x86_64 targets
Steve Lhomme [Fri, 10 Jun 2016 08:08:02 +0000 (10:08 +0200)]
contrib: define HAVE_WIN64 for mingw amd64 and x86_64 targets

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agomedia_discoverer: fix memory corruption when listing services
Thomas Guillem [Fri, 10 Jun 2016 09:50:11 +0000 (11:50 +0200)]
media_discoverer: fix memory corruption when listing services

3 years agodemux: merge GetUpdateFlags() and ResetUpdateFlags()
Rémi Denis-Courmont [Thu, 9 Jun 2016 17:58:55 +0000 (20:58 +0300)]
demux: merge GetUpdateFlags() and ResetUpdateFlags()

3 years agoinput/decoder: return-statement with expression is ill-formed
Filip Roséen [Thu, 9 Jun 2016 16:01:45 +0000 (18:01 +0200)]
input/decoder: return-statement with expression is ill-formed

Having written too much C++ in my days, I wrongfully assumed that it
was legal to have a return-statement with an expression in a function
returning void, as long as the expression would yield void, in C (as
it is in C++).

However, according to the C99 ISO Standard (section 6.8.6.4p1) this is
not the case.

> [ :: 6.8.6.4p1 :: ]
>
> A return statement with an expression shall not appear in a function
> whose return type is void. A return statement without an expression
> shall only appear in a function whose return type is void.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
3 years agovlc_atomic: atomic_compare_exchange_weak_explicit takes 5 parameters
Steve Lhomme [Thu, 9 Jun 2016 16:53:20 +0000 (18:53 +0200)]
vlc_atomic: atomic_compare_exchange_weak_explicit takes 5 parameters

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
3 years agotest: keystore: test that we can override a secret
Thomas Guillem [Thu, 9 Jun 2016 17:06:20 +0000 (19:06 +0200)]
test: keystore: test that we can override a secret

3 years agoGLwin32, WGL: fix typos
Adrien Maglo [Thu, 9 Jun 2016 10:12:00 +0000 (12:12 +0200)]
GLwin32, WGL: fix typos

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoWGL: fix the module closing
Adrien Maglo [Thu, 9 Jun 2016 10:11:59 +0000 (12:11 +0200)]
WGL: fix the module closing

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoevents: remove unused input thread events
Thomas Guillem [Thu, 21 Apr 2016 14:45:51 +0000 (16:45 +0200)]
events: remove unused input thread events

3 years agolibvlc: libvlc_media_discoverer_stop returns nothing
Thomas Guillem [Thu, 9 Jun 2016 09:01:40 +0000 (11:01 +0200)]
libvlc: libvlc_media_discoverer_stop returns nothing

3 years agovout_macosx: fix runtime exception when setting the colorspace
Felix Paul Kühne [Wed, 8 Jun 2016 16:33:28 +0000 (18:33 +0200)]
vout_macosx: fix runtime exception when setting the colorspace

3 years agovlc.desktop: correctly set the path for the mimetypes file
Jean-Baptiste Kempf [Wed, 8 Jun 2016 15:09:29 +0000 (17:09 +0200)]
vlc.desktop: correctly set the path for the mimetypes file

3 years agocontribs: Update libdsm version
Hugo Beauzée-Luyssen [Wed, 8 Jun 2016 08:44:21 +0000 (10:44 +0200)]
contribs: Update libdsm version

3 years agodemux: adaptive: don't seek disabled streams
Francois Cartegnie [Wed, 8 Jun 2016 08:59:06 +0000 (10:59 +0200)]
demux: adaptive: don't seek disabled streams

As it was always seeking disabled streams,
init chunk was read on seek, queuing possible es
changes which are uncommited due to absence of sample data.
following dac320e35ff9cf400093dbd214e2e6408c70a43c
the fakeesout was always in restarting state then,
causing an always failing setposition which now checks
the restarting state.

3 years agotest: fix distcheck
Thomas Guillem [Wed, 8 Jun 2016 08:12:32 +0000 (10:12 +0200)]
test: fix distcheck

Add missing samples/slaves to EXTRA_DIST

3 years agodemux: add helper functions to avoid accessing update data directly outside of demux.c
Steve Lhomme [Tue, 7 Jun 2016 09:15:16 +0000 (11:15 +0200)]
demux: add helper functions to avoid accessing update data directly outside of demux.c

only demux.c code and the demuxer itself should access these data directly

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoWGL: OpenGL provider module for Windows
Adrien Maglo [Tue, 7 Jun 2016 16:06:03 +0000 (18:06 +0200)]
WGL: OpenGL provider module for Windows

Reactivate the support of projectM and 3dspectrum visualization modules
on Windows.

fix #13650

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agobluray: missing include
Rémi Denis-Courmont [Tue, 7 Jun 2016 18:19:43 +0000 (21:19 +0300)]
bluray: missing include

3 years agooss: fix typo
Rémi Denis-Courmont [Tue, 7 Jun 2016 18:14:42 +0000 (21:14 +0300)]
oss: fix typo

3 years agoposix: fix BSD build
Rémi Denis-Courmont [Tue, 7 Jun 2016 18:11:25 +0000 (21:11 +0300)]
posix: fix BSD build

3 years agolibvlc: change libvlc_media_player_add_slave arguments
Thomas Guillem [Tue, 7 Jun 2016 16:18:00 +0000 (18:18 +0200)]
libvlc: change libvlc_media_player_add_slave arguments

The last boolean argument is used to force the selection of a slave.

3 years agoinput/input: only select the first slave of each type
Thomas Guillem [Tue, 7 Jun 2016 15:19:45 +0000 (17:19 +0200)]
input/input: only select the first slave of each type

3 years agoinput/subtitles: sort subtitles coming from the file system
Thomas Guillem [Tue, 7 Jun 2016 15:08:08 +0000 (17:08 +0200)]
input/subtitles: sort subtitles coming from the file system

Keep the same subtitles order than before slaves commits (in order to don't
disturb the user).

3 years agoinput/input: refactor input_source_t addition for slaves
Thomas Guillem [Tue, 7 Jun 2016 15:19:19 +0000 (17:19 +0200)]
input/input: refactor input_source_t addition for slaves

input_SlaveSourceAdd is now used to create and add SPU and AUDIO sources. It
returns now an error.

3 years agoinput/input: refactor LoadSlaves
Thomas Guillem [Tue, 7 Jun 2016 15:14:39 +0000 (17:14 +0200)]
input/input: refactor LoadSlaves

And remove qsort that was added twice...

3 years agoinput/input: handle the "input-slave" option in LoadSlaves
Thomas Guillem [Tue, 7 Jun 2016 11:44:09 +0000 (13:44 +0200)]
input/input: handle the "input-slave" option in LoadSlaves

3 years agoinput/input: move LoadVarSlaves up
Thomas Guillem [Tue, 7 Jun 2016 11:44:50 +0000 (13:44 +0200)]
input/input: move LoadVarSlaves up

For next commit.

3 years agoinput: code simplification
Steve Lhomme [Tue, 7 Jun 2016 09:15:15 +0000 (11:15 +0200)]
input: code simplification

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoinput: use a simpler variable to check b_can_pace_control & b_can_rate_control
Steve Lhomme [Tue, 7 Jun 2016 09:15:14 +0000 (11:15 +0200)]
input: use a simpler variable to check b_can_pace_control & b_can_rate_control

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoinput: only check once if the demuxer has pf_demux
Steve Lhomme [Tue, 7 Jun 2016 09:15:13 +0000 (11:15 +0200)]
input: only check once if the demuxer has pf_demux

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agobluray: fix seekpoint overriding previously set flags
Steve Lhomme [Mon, 6 Jun 2016 09:51:50 +0000 (11:51 +0200)]
bluray: fix seekpoint overriding previously set flags

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agowin32: vout: use an atomic_bool with no lock for has_moved
Steve Lhomme [Mon, 6 Jun 2016 08:19:39 +0000 (10:19 +0200)]
win32: vout: use an atomic_bool with no lock for has_moved

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agopreparser: fix playlist_preparser_Cancel loop
Thomas Guillem [Tue, 7 Jun 2016 08:30:35 +0000 (10:30 +0200)]
preparser: fix playlist_preparser_Cancel loop

This may need a test finally...

3 years agoinput/demux: add preparsing flag
Thomas Guillem [Tue, 7 Jun 2016 07:27:54 +0000 (09:27 +0200)]
input/demux: add preparsing flag

This flag will be used to notify the demux module that we are preparsing.

Fixes #17024

3 years agoNEWS: mention libvlc_media_player_add_slave addition
Jean-Baptiste Kempf [Mon, 6 Jun 2016 20:38:27 +0000 (22:38 +0200)]
NEWS: mention libvlc_media_player_add_slave addition

3 years agodarwin: remove trailing spaces
Jean-Baptiste Kempf [Mon, 6 Jun 2016 17:01:41 +0000 (19:01 +0200)]
darwin: remove trailing spaces

3 years agolibvlc.sym: Add missing libvlc_media_player_add_slave entry
Hugo Beauzée-Luyssen [Mon, 6 Jun 2016 17:27:27 +0000 (19:27 +0200)]
libvlc.sym: Add missing libvlc_media_player_add_slave entry

3 years agoos2: implement vlc_thread_id()
KO Myung-Hun [Sun, 5 Jun 2016 15:37:06 +0000 (00:37 +0900)]
os2: implement vlc_thread_id()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoos2: fix compilation
KO Myung-Hun [Sun, 5 Jun 2016 15:37:05 +0000 (00:37 +0900)]
os2: fix compilation

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 years agoconfig: remove usage of abort
Thomas Guillem [Sun, 5 Jun 2016 15:14:44 +0000 (17:14 +0200)]
config: remove usage of abort

3 years agovideo_filter/logo: remove usage of abort
Filip Roséen [Sun, 5 Jun 2016 15:08:37 +0000 (17:08 +0200)]
video_filter/logo: remove usage of abort

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agoinput: force subtitles coming from subtitles_Detect
Thomas Guillem [Sun, 5 Jun 2016 15:01:15 +0000 (17:01 +0200)]
input: force subtitles coming from subtitles_Detect

This restore an historical behavior that was removed with input slaves patches.

3 years agomacosx: add convinience menu item to add files to playlist (closes #13759)
Felix Paul Kühne [Sun, 5 Jun 2016 14:49:46 +0000 (16:49 +0200)]
macosx: add convinience menu item to add files to playlist (closes #13759)

3 years agocore/input: check for allocation error during bookmark parsing
Filip Roséen [Sun, 5 Jun 2016 14:46:30 +0000 (16:46 +0200)]
core/input: check for allocation error during bookmark parsing

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agocore/input: fix potential memory-leak during bookmark parsing
Filip Roséen [Sun, 5 Jun 2016 14:02:16 +0000 (16:02 +0200)]
core/input: fix potential memory-leak during bookmark parsing

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
3 years agomacosx: remember preferences window location (closes #14023)
Felix Paul Kühne [Sun, 5 Jun 2016 14:37:24 +0000 (16:37 +0200)]
macosx: remember preferences window location (closes #14023)

3 years agotest_input_stream: use bigger random file for tests
Thomas Guillem [Sun, 5 Jun 2016 14:09:47 +0000 (16:09 +0200)]
test_input_stream: use bigger random file for tests

3 years agotest_input_stream: don't test I/O after EOF
Thomas Guillem [Sun, 5 Jun 2016 13:53:44 +0000 (15:53 +0200)]
test_input_stream: don't test I/O after EOF

Because it's UB and depends of accesses.

3 years agotest_input_stream: display size
Thomas Guillem [Sun, 5 Jun 2016 13:53:15 +0000 (15:53 +0200)]
test_input_stream: display size