diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-21 13:29:05 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-21 13:29:05 +0100 |
commit | 2f1ed6533946e19e1801be0a3d7cc628f056c26c (patch) | |
tree | d67c5e3e4aacb8ec779bdd2fef53cca158d56b98 /tests | |
parent | 9e3aa102d7fa3ebcfedb5e86721ab7701b797196 (diff) |
pad: Merge pad mode activation functions
Add the pad mode to the activate function so that we can reuse the same function
for all activation modes. This makes the core logic smaller and allows for some
elements to make their activation code easier. It would allow us to add more
scheduling modes later without having to add more activate functions.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/filesrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/filesrc.c b/tests/check/elements/filesrc.c index d7397bfa98..4f3fa9e804 100644 --- a/tests/check/elements/filesrc.c +++ b/tests/check/elements/filesrc.c @@ -186,7 +186,7 @@ GST_START_TEST (test_pull) fail_unless (pad != NULL); /* activate the pad in pull mode */ - res = gst_pad_activate_pull (pad, TRUE); + res = gst_pad_activate_mode (pad, GST_PAD_MODE_PULL, TRUE); fail_unless (res == TRUE); /* not start playing */ |