WASHINGTON -- President Barack Obama said Thursday that he thinks many House Republicans, including Speaker John Boehner (R-Ohio), want to pass immigration reform and other measures -- they're just getting blocked.

"I actually think there are a bunch of Republicans who want to get stuff done," Obama told MSNBC's Chris Matthews on "Hardball," according to a transcript. "They've gotta be embarrassed. Because the truth of the matter is that they've now been in charge of the House of Representatives ... for a couple of years now. And they just don't have a lot to show for it."

Obama brought up the point while talking about immigration reform, which passed the Senate earlier this year but has yet to get any votes in the House. Boehner has said it is still a priority and that the House will work on the issue next year. Obama said he is optimistic, and thinks "Boehner is sincere about getting it done."

But Obama told Matthews there are some GOP members still standing in the way.

"The only thing that's stopping it, at this point, is what I mentioned earlier, a faction in the House Republican Party that is resistant," he said. He added later, "I think that there's so much focus on the politics of the base and Republicans being worried about getting challenged during the primary season that that inhibits a lot of cooperation that is there."

Boehner insisted last month that there was still time to complete immigration reform, even though it won't be until next year.

"Is immigration reform dead? Absolutely not," he said at a press conference.

Also on HuffPost:

Loading Slideshow...
  • Barack Obama, Jimmy Fallon

    President Barack Obama sits with Jimmy Fallon during commercial break as he participates in a taping of the Jimmy Fallon Show, Tuesday, April 24, 2012, at the University of North Carolina at Chapel Hill, N.C.. (AP Photo/Carolyn Kaster)

  • Barack Obama, Jimmy Fallon

    Pictured: (l-r) Tariq 'Black Thought' Trotter, President Barack Obama, Jimmy Fallon -- (Photo by: Lloyd Bishop/NBC/NBCU Photo Bank via Getty Images)

  • Barack Obama, Jimmy Fallon

    LATE NIGHT WITH JIMMY FALLON -- Episode 622 -- Pictured: (l-r) President Barack Obama, Jimmy Fallon -- (Photo by: Lloyd Bishop/NBC/NBCU Photo Bank via Getty Images)

  • Barack Obama, Jay Leno

    President Barack Obama, right, talks with Jay Leno, right, during a commercial break during the taping of his appearance on NBC’s The Tonight Show with Jay Leno, Wednesday, Oct. 24, 2012, in Burbank, Calif. (AP Photo/Pablo Martinez Monsivais)

  • Barack Obama, Jay Leno

    President Barack Obama talks with Jay Leno, right, during a commercial break during the taping of his appearance on NBC’s The Tonight Show with Jay Leno, Wednesday, Oct. 24, 2012, in Burbank, Calif. (AP Photo/Pablo Martinez Monsivais)

  • Barack Obama

    President Barack Obama smiles towards the audience during his appearance for taping of NBC’s The Tonight Show with Jay Leno, Wednesday, Oct. 24, 2012, in Burbank, Calif. (AP Photo/Pablo Martinez Monsivais)

  • Barack Obama, Jay Leno

    U.S. President Barack Obama chats with host Jay Leno during a taping of “The Tonight Show with Jay Leno” October 24, 2012 at NBC Studios in Burbank, California. (MANDEL NGAN/AFP/Getty Images)

  • Barack Obama, Jay Leno

    U.S. President Barack Obama chats with Jay Leno during a break while recording an interview on the “Tonight Show with Jay Leno” at the NBC Studios in Burbank, California, on October 25, 2011. (JEWEL SAMAD/AFP/Getty Images)

  • Barack Obama, Jay Leno

    Pictured: (l-r) President Barack Obama during an interview with host Jay Leno on March 19, 2009 -- Photo by: Paul Drinkwater/NBCU Photo Bank

  • Barack Obama, David Letterman

    President Barack Obama talks with David Letterman on the set of the "Late Show With David Letterman" at the Ed Sullivan Theater, Tuesday, Sept. 18, 2012, in New York. (AP Photo/Carolyn Kaster)

  • Barack Obama, Jay Leno

    U.S. President Barack Obama (L) during an interview on the “Tonight Show with Jay Leno” at the NBC Studios in Burbank, California, on October 25, 2011. (JEWEL SAMAD/AFP/Getty Images)

  • Barack Obama

    U.S. President Barack Obama appears on 'The Tonight Show With Jay Leno' at NBC Studios on October 25, 2011 in Burbank, California. (Photo by Kevin Winter/NBCUniversal/Getty Images)

  • Barack Obama, Jay Leno

    U.S. President Barack Obama is seen with host Jay Leno during a taping of 'The Tonight Show' at NBC studios in Burbank, California. (MANDEL NGAN/AFP/Getty Images)

  • Barack Obama, David Letterman

    President Barack Obama sits with David Letterman on the set of the "Late Show With David Letterman" at the Ed Sullivan Theater, Tuesday, Sept. 18, 2012, in New York. (AP Photo/Carolyn Kaster)

  • Barack Obama, David Letterman

    President Barack Obama sits with David Letterman on the set of the "Late Show With David Letterman" at the Ed Sullivan Theater, Tuesday, Sept. 18, 2012, in New York. (AP Photo/Carolyn Kaster)

  • Barack Obama, David Letterman

    President Barack Obama talks with David Letterman on the set of the "Late Show With David Letterman" at the Ed Sullivan Theater, Tuesday, Sept. 18, 2012, in New York. (AP Photo/Carolyn Kaster)