Commit Graph

14 Commits

Author SHA1 Message Date
Nikolay Sivov dd1a603a1f mfplay: Implement GetPosition().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:52:05 +02:00
Nikolay Sivov 9d6fc061c9 mfplay: Partially implement GetDuration().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:52:01 +02:00
Nikolay Sivov 4f92399660 mfplay: Fix output argument handling in CreateMediaItemFromURL().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:51:57 +02:00
Nikolay Sivov 848f2a4be0 mfplay: Update destination rectangle on SetVideoSourceRect().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:51:54 +02:00
Nikolay Sivov dbe241990f mfplay: Better handle video control method calls when there is no media item set.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 18:51:45 +02:00
Nikolay Sivov 66948f8934 mfplay: Handle NULL item in SetMediaItem().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-22 10:18:00 +02:00
Nikolay Sivov 352da005c1 mfplay: Create media item on player creation, when url is specified.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-18 21:08:41 +02:00
Nikolay Sivov fd0d79c624 mfplay: Forward GetNativeVideoSize() to the session.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-21 21:00:33 +02:00
Nikolay Sivov e2f74ce448 mfplay: Handle shutdown state on GetMediaItem().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-13 13:05:48 +02:00
Nikolay Sivov 58d0cb0de0 mfplay: Handle shutdown state in CreateMediaItemFromURL().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-13 13:05:46 +02:00
Nikolay Sivov 0f18e5f81d mfplay: Implement GetVideoWindow().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-07 22:36:11 +02:00
Nikolay Sivov 6a389d14a6 mfplay: Add IPropertyStore support to media player object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-05 15:07:01 +02:00
Nikolay Sivov 97ed08cb52 mfplay: Keep user callback reference.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-05 15:07:01 +02:00
Nikolay Sivov dc57a265f1 mfplay/tests: Add a basic test for player creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-02 21:12:44 +02:00